public class ServerStatusResponse extends FFDCResponseBase
| Constructor and Description |
|---|
ServerStatusResponse()
Default constructor
|
ServerStatusResponse(ServerStatusResponse template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Date |
getServerEndTime()
Return the time that the server last ended - it is null if the server is currently active.
|
List<OMAGServerInstanceHistory> |
getServerHistory()
Return the list of start and stop times for the previous restarts of the server.
|
String |
getServerName()
Return the name of the server where the services are running.
|
Date |
getServerStartTime()
Return the time that the server last started.
|
String |
getServerType()
Return the type of server that is hosting these services.
|
int |
hashCode()
Return hash code for this object
|
boolean |
isActive()
Is the server instance currently running?
|
void |
setActive(boolean active)
Set up whether the server is currently running.
|
void |
setServerEndTime(Date serverEndTime)
Set up the time that the server last ended - it is null if the server is currently active.
|
void |
setServerHistory(List<OMAGServerInstanceHistory> serverHistory)
Set up the list of start and stop times for the previous restarts of the server.
|
void |
setServerName(String serverName)
Set up the name of the server where the services are running.
|
void |
setServerStartTime(Date serverStartTime)
Set up the time that the server last started.
|
void |
setServerType(String serverType)
Set up the type of server that is hosting these services.
|
String |
toString()
JSON-like toString
|
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodepublic ServerStatusResponse()
public ServerStatusResponse(ServerStatusResponse template)
template - object to copypublic String getServerName()
public void setServerName(String serverName)
serverName - name of serverpublic String getServerType()
public void setServerType(String serverType)
serverType - string namepublic boolean isActive()
public void setActive(boolean active)
active - booleanpublic Date getServerStartTime()
public void setServerStartTime(Date serverStartTime)
serverStartTime - date/timepublic Date getServerEndTime()
public void setServerEndTime(Date serverEndTime)
serverEndTime - date/timepublic List<OMAGServerInstanceHistory> getServerHistory()
public void setServerHistory(List<OMAGServerInstanceHistory> serverHistory)
serverHistory - server historypublic String toString()
toString in class FFDCResponseBasepublic boolean equals(Object objectToCompare)
equals in class FFDCResponseBaseobjectToCompare - test objectpublic int hashCode()
hashCode in class FFDCResponseBaseCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.