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
ConstructorsConstructorDescriptionDefault constructor for JacksonServerServicesStatus(ServerServicesStatus template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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.inthashCode()Return hash code for this objectvoidsetServerActiveStatus(ServerActiveStatus serverActiveStatus) Set up the current status of the server.voidsetServerName(String serverName) Set the name of the servervoidsetServerType(String serverType) Set up the type of server that is hosting these services.voidsetServices(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
-