Package org.eclipse.lsp4j.debug
Class ThreadEventArguments
- java.lang.Object
-
- org.eclipse.lsp4j.debug.ThreadEventArguments
-
public class ThreadEventArguments extends java.lang.Object
The event indicates that a thread has started or exited.Represents the
body
ofThreadEvent
defined in spec.
-
-
Constructor Summary
Constructors Constructor Description ThreadEventArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getReason()
The reason for the event.int
getThreadId()
The identifier of the thread.int
hashCode()
void
setReason(java.lang.String reason)
The reason for the event.void
setThreadId(int threadId)
The identifier of the thread.java.lang.String
toString()
-
-
-
Method Detail
-
getReason
public java.lang.String getReason()
The reason for the event.Possible values include - but not limited to those defined in
ThreadEventArgumentsReason
-
setReason
public void setReason(java.lang.String reason)
The reason for the event.Possible values include - but not limited to those defined in
ThreadEventArgumentsReason
-
getThreadId
public int getThreadId()
The identifier of the thread.
-
setThreadId
public void setThreadId(int threadId)
The identifier of the thread.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-