Class StateType


  • public class StateType
    extends java.lang.Object
    REST API request/response type that represents a Service execution ServiceStatus.State.
    • Constructor Summary

      Constructors 
      Constructor Description
      StateType​(com.elastisys.autoscaler.core.api.types.ServiceStatus.State state)
      Constructs a StateType that represents a certain Service execution ServiceStatus.State.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      com.elastisys.autoscaler.core.api.types.ServiceStatus.State getState()
      Returns the Service ServiceStatus.State.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • StateType

        public StateType​(com.elastisys.autoscaler.core.api.types.ServiceStatus.State state)
        Constructs a StateType that represents a certain Service execution ServiceStatus.State.
        Parameters:
        state - The Service ServiceStatus.State to represent.
    • Method Detail

      • getState

        public com.elastisys.autoscaler.core.api.types.ServiceStatus.State getState()
        Returns the Service ServiceStatus.State.
        Returns:
      • 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