Class OutputEvent.EventBody
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.OutputEvent.EventBody
- Enclosing class:
OutputEvent
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutputEvent.EventBodybooleanThe output category.An optional source location column where the output was produced.getData()Optional data to report.getGroup()Support for keeping an output log organized by grouping related messages.getLine()An optional source location line where the output was produced.The output to report.An optional source location where the output was produced.If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request.inthashCode()setCategory(String category) setVariablesReference(Integer variablesReference)
-
Method Details
-
getCategory
The output category. If not specified, 'console' is assumed. Values: 'console', 'stdout', 'stderr', 'telemetry', etc. -
setCategory
-
getOutput
The output to report. -
setOutput
-
getGroup
Support for keeping an output log organized by grouping related messages. 'start': Start a new group in expanded mode. Subsequent output events are members of the group and should be shown indented. The 'output' attribute becomes the name of the group and is not indented. 'startCollapsed': Start a new group in collapsed mode. Subsequent output events are members of the group and should be shown indented (as soon as the group is expanded). The 'output' attribute becomes the name of the group and is not indented. 'end': End the current group and decreases the indentation of subsequent output events. A non empty 'output' attribute is shown as the unindented end of the group. -
setGroup
-
getVariablesReference
If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request. The value should be less than or equal to 2147483647 (2^31 - 1). -
setVariablesReference
-
getSource
An optional source location where the output was produced. -
setSource
-
getLine
An optional source location line where the output was produced. -
setLine
-
getColumn
An optional source location column where the output was produced. -
setColumn
-
getData
Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format. -
setData
-
equals
-
hashCode
public int hashCode() -
create
-