Class Thread

  • All Implemented Interfaces:
    com.microsoft.appcenter.ingestion.models.Model

    public class Thread
    extends java.lang.Object
    implements com.microsoft.appcenter.ingestion.models.Model
    The Thread model.
    • Constructor Summary

      Constructors 
      Constructor Description
      Thread()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.List<StackFrame> getFrames()
      Get the frames value.
      long getId()
      Get the id value.
      java.lang.String getName()
      Get the name value.
      int hashCode()  
      void read​(org.json.JSONObject object)  
      void setFrames​(java.util.List<StackFrame> frames)
      Set the frames value.
      void setId​(long id)
      Set the id value.
      void setName​(java.lang.String name)
      Set the name value.
      void write​(org.json.JSONStringer writer)  
      • Methods inherited from class java.lang.Object

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

      • Thread

        public Thread()
    • Method Detail

      • getId

        public long getId()
        Get the id value.
        Returns:
        the id value
      • setId

        public void setId​(long id)
        Set the id value.
        Parameters:
        id - the id value to set
      • getName

        public java.lang.String getName()
        Get the name value.
        Returns:
        the name value
      • setName

        public void setName​(java.lang.String name)
        Set the name value.
        Parameters:
        name - the name value to set
      • getFrames

        public java.util.List<StackFrame> getFrames()
        Get the frames value.
        Returns:
        the frames value
      • setFrames

        public void setFrames​(java.util.List<StackFrame> frames)
        Set the frames value.
        Parameters:
        frames - the frames value to set
      • read

        public void read​(org.json.JSONObject object)
                  throws org.json.JSONException
        Specified by:
        read in interface com.microsoft.appcenter.ingestion.models.Model
        Throws:
        org.json.JSONException
      • write

        public void write​(org.json.JSONStringer writer)
                   throws org.json.JSONException
        Specified by:
        write in interface com.microsoft.appcenter.ingestion.models.Model
        Throws:
        org.json.JSONException
      • equals

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

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