Class ThreadEventArguments


  • public class ThreadEventArguments
    extends java.lang.Object
    The event indicates that a thread has started or exited.

    Represents the body of ThreadEvent defined in spec.

    • 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ThreadEventArguments

        public ThreadEventArguments()
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object