Class ServerServicesListResponse
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
-
- org.odpi.openmetadata.platformservices.rest.ServerServicesListResponse
-
- All Implemented Interfaces:
Serializable,FFDCResponse
public class ServerServicesListResponse extends FFDCResponseBase
ServerServicesListResponse returns the list of services active in a particular server running in a platform.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerServicesListResponse()Default constructorServerServicesListResponse(ServerServicesListResponse 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.StringgetServerName()Return the name of the server where the services are running.List<String>getServerServicesList()Return the list of servers (or null if none running).inthashCode()Return hash code for this objectvoidsetServerName(String serverName)Set up the name of the server where the services are running.voidsetServerServicesList(List<String> serverServicesList)Set up the list of servers.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
-
ServerServicesListResponse
public ServerServicesListResponse()
Default constructor
-
ServerServicesListResponse
public ServerServicesListResponse(ServerServicesListResponse template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getServerName
public String getServerName()
Return the name of the server where the services are running.- Returns:
- name of server
-
setServerName
public void setServerName(String serverName)
Set up the name of the server where the services are running.- Parameters:
serverName- name of server
-
getServerServicesList
public List<String> getServerServicesList()
Return the list of servers (or null if none running).- Returns:
- string list
-
setServerServicesList
public void setServerServicesList(List<String> serverServicesList)
Set up the list of servers.- Parameters:
serverServicesList- string list
-
toString
public String toString()
JSON-like toString- Overrides:
toStringin classFFDCResponseBase- 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
-
-