Class ServerServicesStatus
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.properties.ServerServicesStatus
-
- All Implemented Interfaces:
Serializable
public class ServerServicesStatus extends Object implements Serializable
ServerServicesStatus documents the status of a server and the services within it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerServicesStatus()Default constructor for JacksonServerServicesStatus(ServerServicesStatus template)Copy/clone constructor
-
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.ServerActiveStatusgetServerActiveStatus()Return the current status of the server.StringgetServerName()Return the server nameStringgetServerType()Return the type of server that is hosting these services.List<OMAGServerServiceStatus>getServices()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.StringtoString()JSON like toString method
-
-
-
Constructor Detail
-
ServerServicesStatus
public ServerServicesStatus()
Default constructor for Jackson
-
ServerServicesStatus
public ServerServicesStatus(ServerServicesStatus template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getServerName
public String getServerName()
Return the server name- Returns:
- String
-
setServerName
public void setServerName(String serverName)
Set the name of the server- Parameters:
serverName- the name of the server
-
getServerType
public String getServerType()
Return the type of server that is hosting these services.- Returns:
- string name
-
setServerType
public void setServerType(String serverType)
Set up the type of server that is hosting these services.- Parameters:
serverType- string name
-
setServerActiveStatus
public void setServerActiveStatus(ServerActiveStatus serverActiveStatus)
Set up the current status of the server.- Parameters:
serverActiveStatus- new status
-
getServerActiveStatus
public ServerActiveStatus getServerActiveStatus()
Return the current status of the server.- Returns:
- server instance status enum
-
getServices
public List<OMAGServerServiceStatus> getServices()
Return the services and their status.- Returns:
- services list
-
setServices
public void setServices(List<OMAGServerServiceStatus> services)
Set up the services and their status.- Parameters:
services- services list
-
toString
public String toString()
JSON like toString method
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-