Class OMAGServerServiceStatus
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.properties.OMAGServerServiceStatus
-
- All Implemented Interfaces:
Serializable
public class OMAGServerServiceStatus extends Object implements 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 Summary
Constructors Constructor Description OMAGServerServiceStatus()Default constructor for Jackson
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetServiceName()Return the name of the serviceServerActiveStatusgetServiceStatus()Return the current status.inthashCode()Return hash code for this objectvoidsetServiceName(String serviceName)Set up the name of the service.voidsetServiceStatus(ServerActiveStatus serviceStatus)Set up the current status.StringtoString()JSON like toString method
-
-
-
Method Detail
-
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
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-