Class SyncState


  • public class SyncState
    extends java.lang.Object
    This class represents the state of a Sync object.
    • Constructor Summary

      Constructors 
      Constructor Description
      SyncState​(java.lang.String state, java.lang.String description)
      Constructs a new SyncState using the specified state name and description.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getDescription()
      Returns the description of the state.
      java.lang.String getState()
      Returns the name of the state.
      int hashCode()  
      void setDescription​(java.lang.String description)
      Sets the description of the state.
      void setState​(java.lang.String state)
      Sets the name of the state.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • SyncState

        public SyncState​(java.lang.String state,
                         java.lang.String description)
        Constructs a new SyncState using the specified state name and description.
        Parameters:
        state - Name of the state
        description - Description of the state
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the description of the state.
        Returns:
        Description
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description of the state. Max. 80 characters are allowed.
        Parameters:
        description - Description
      • getState

        public java.lang.String getState()
        Returns the name of the state.
        Returns:
        Name of the state
      • setState

        public void setState​(java.lang.String state)
        Sets the name of the state. Max. 30 characters are allowed.
        Parameters:
        state - Name of the state
      • hashCode

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object