Class ServerServicesStatus
java.lang.Object
org.odpi.openmetadata.serveroperations.properties.ServerServicesStatus
ServerServicesStatus documents the status of a server and the services within it.
-
Constructor Summary
ConstructorDescriptionDefault constructor for JacksonServerServicesStatus
(ServerServicesStatus template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the current status of the server.Return the server nameReturn the type of server that is hosting these services.Return the services and their status.int
hashCode()
Return hash code for this objectvoid
setServerActiveStatus
(ServerActiveStatus serverActiveStatus) Set up the current status of the server.void
setServerName
(String serverName) Set the name of the servervoid
setServerType
(String serverType) Set up the type of server that is hosting these services.void
setServices
(List<OMAGServerServiceStatus> services) Set up the services and their status.toString()
JSON like toString method
-
Constructor Details
-
ServerServicesStatus
public ServerServicesStatus()Default constructor for Jackson -
ServerServicesStatus
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getServerName
Return the server name- Returns:
- String
-
setServerName
Set the name of the server- Parameters:
serverName
- the name of the server
-
getServerType
Return the type of server that is hosting these services.- Returns:
- string name
-
setServerType
Set up the type of server that is hosting these services.- Parameters:
serverType
- string name
-
setServerActiveStatus
Set up the current status of the server.- Parameters:
serverActiveStatus
- new status
-
getServerActiveStatus
Return the current status of the server.- Returns:
- server instance status enum
-
getServices
Return the services and their status.- Returns:
- services list
-
setServices
Set up the services and their status.- Parameters:
services
- services list
-
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
-