Package ortus.boxlang.debugger.event
Class Event
java.lang.Object
ortus.boxlang.debugger.event.Event
- All Implemented Interfaces:
IAdapterProtocolMessage,ISendable
- Direct Known Subclasses:
BreakpointEvent,ContinuedEvent,ExitEvent,OutputEvent,StoppedEvent,TerminatedEvent,ThreadEvent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DebugAdapter adapter) Implement this to use a DebugAdapter as a visitorThe command for the debugger to executegetName()Gets the name of the eventintgetSeq()Returns the sequence number of this requestgetType()Gets the type of the debug protocl message.voidsetRawMessageData(Map<String, Object> messageData)
-
Field Details
-
type
-
event
-
-
Constructor Details
-
Event
public Event() -
Event
-
-
Method Details
-
setRawMessageData
- Specified by:
setRawMessageDatain interfaceIAdapterProtocolMessage
-
getRawMessageData
- Specified by:
getRawMessageDatain interfaceIAdapterProtocolMessage
-
getCommand
The command for the debugger to execute- Specified by:
getCommandin interfaceIAdapterProtocolMessage- Returns:
- The command that was issued by the debug tool
-
getSeq
public int getSeq()Returns the sequence number of this request- Specified by:
getSeqin interfaceIAdapterProtocolMessage- Returns:
- The sequence number of this command
-
getType
Gets the type of the debug protocl message. Always "event".- Specified by:
getTypein interfaceIAdapterProtocolMessage- Specified by:
getTypein interfaceISendable- Returns:
-
getName
Gets the name of the event -
accept
Description copied from interface:IAdapterProtocolMessageImplement this to use a DebugAdapter as a visitor- Specified by:
acceptin interfaceIAdapterProtocolMessage- Parameters:
adapter- The visitor that will visit this node
-