Class OMAGServerServiceStatus

java.lang.Object
org.odpi.openmetadata.adminservices.properties.OMAGServerServiceStatus

@Deprecated public class OMAGServerServiceStatus extends Object
Deprecated.
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.
  • Constructor Details

    • OMAGServerServiceStatus

      public OMAGServerServiceStatus()
      Deprecated.
      Default constructor for Jackson
  • Method Details

    • getServiceName

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

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

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

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

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

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

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