Class Dump
java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.runtime.components.system.Dump
@BoxComponent(description="Display structured output of variables and expressions")
public class Dump
extends Component
-
Nested Class Summary
Nested classes/interfaces inherited from class ortus.boxlang.runtime.components.Component
Component.BodyResult, Component.ComponentBody -
Field Summary
Fields inherited from class ortus.boxlang.runtime.components.Component
componentService, declaredAttributes, DEFAULT_RETURN, functionService, interceptorService, logger, name, runtime -
Constructor Summary
ConstructorsConstructorDescriptionDump()-------------------------------------------------------------------------- Constructor(s) -------------------------------------------------------------------------- -
Method Summary
Modifier and TypeMethodDescription_invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState) Outputs the contents of a variable (simple or complex) of any type for debugging purposes to a specific output location.Methods inherited from class ortus.boxlang.runtime.components.Component
announce, getDeclaredAttributes, getName, invoke, processBody, processBody, setName, validateAttributes
-
Constructor Details
-
Dump
public Dump()-------------------------------------------------------------------------- Constructor(s) --------------------------------------------------------------------------
-
-
Method Details
-
_invoke
public Component.BodyResult _invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState) Outputs the contents of a variable (simple or complex) of any type for debugging purposes to a specific output location.The available
outputlocations are: - buffer: The output is written to the buffer, which is the default location. If running on a web server, the output is written to the browser. - console: The output is printed to the System console. - {absolute_file_path} The output is written to a file with the specified filename path.The output
formatcan be either HTML or plain text. The default format is HTML if the output location is the buffer or a web server or a file, otherwise it is plain text for the console.
-