Class OMAGServerServiceStatus

  • All Implemented Interfaces:
    java.io.Serializable

    public class OMAGServerServiceStatus
    extends java.lang.Object
    implements java.io.Serializable
    OMAGServerServiceStatus contains the status of each of the services running in the server. It is useful in determining which services are active and which service is causing a server to be stuck starting or stopping.
    See Also:
    Serialized Form
    • Constructor Detail

      • OMAGServerServiceStatus

        public OMAGServerServiceStatus()
        Default constructor for Jackson
    • Method Detail

      • getServiceName

        public java.lang.String getServiceName()
        Return the name of the service
        Returns:
        string name
      • setServiceName

        public void setServiceName​(java.lang.String serviceName)
        Set up the name of the service.
        Parameters:
        serviceName - string name
      • getServiceStatus

        public ServerActiveStatus getServiceStatus()
        Return the current status.
        Returns:
        server instance status enum value
      • setServiceStatus

        public void setServiceStatus​(ServerActiveStatus serviceStatus)
        Set up the current status.
        Parameters:
        serviceStatus - server instance status enum value
      • toString

        public java.lang.String toString()
        JSON like toString method
        Overrides:
        toString in class java.lang.Object
        Returns:
        string representing the local variables
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code