Class OMAGServerServiceStatus
java.lang.Object
org.odpi.openmetadata.serveroperations.properties.OMAGServerServiceStatus
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the name of the serviceReturn the current status.int
hashCode()
Return hash code for this objectvoid
setServiceName
(String serviceName) Set up the name of the service.void
setServiceStatus
(ServerActiveStatus serviceStatus) Set up the current status.toString()
JSON like toString method
-
Constructor Details
-
OMAGServerServiceStatus
public OMAGServerServiceStatus()Default constructor for Jackson
-
-
Method Details
-
getServiceName
Return the name of the service- Returns:
- string name
-
setServiceName
Set up the name of the service.- Parameters:
serviceName
- string name
-
getServiceStatus
Return the current status.- Returns:
- server instance status enum value
-
setServiceStatus
Set up the current status.- Parameters:
serviceStatus
- server instance status enum value
-
toString
JSON like toString method -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-