Class OMAGServerServiceStatus

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

public class OMAGServerServiceStatus extends Object
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()
      Default constructor for Jackson
  • Method Details

    • getServiceName

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

      public void setServiceName(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 String toString()
      JSON like toString method
      Overrides:
      toString in class Object
      Returns:
      string representing the local variables
    • equals

      public boolean equals(Object objectToCompare)
      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()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code