Class OMAGServerStatusResponse
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
-
- org.odpi.openmetadata.adminservices.rest.AdminServicesAPIResponse
-
- org.odpi.openmetadata.adminservices.rest.OMAGServerStatusResponse
-
- All Implemented Interfaces:
Serializable,FFDCResponse
public class OMAGServerStatusResponse extends AdminServicesAPIResponse
ServerListResponse returns the list of servers running in a platform.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OMAGServerStatusResponse()Default constructorOMAGServerStatusResponse(OMAGServerStatusResponse 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.ServerStatusgetServerStatus()Return the server status structure.inthashCode()Return hash code for this objectvoidsetServerStatus(ServerStatus serverStatus)Set up the server status structure.StringtoString()JSON-like toString-
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
-
-
-
Constructor Detail
-
OMAGServerStatusResponse
public OMAGServerStatusResponse()
Default constructor
-
OMAGServerStatusResponse
public OMAGServerStatusResponse(OMAGServerStatusResponse template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getServerStatus
public ServerStatus getServerStatus()
Return the server status structure.- Returns:
- server status
-
setServerStatus
public void setServerStatus(ServerStatus serverStatus)
Set up the server status structure.- Parameters:
serverStatus- server status
-
toString
public String toString()
JSON-like toString- Overrides:
toStringin classAdminServicesAPIResponse- Returns:
- string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classFFDCResponseBase- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classFFDCResponseBase- Returns:
- int hash code
-
-