Class SuccessMessageResponse
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.serveroperations.rest.SuccessMessageResponse
- All Implemented Interfaces:
FFDCResponse
SuccessMessageResponse provides the reposnse structure when starting a server.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSuccessMessageResponse(SuccessMessageResponse template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the success message (if any).voidsetSuccessMessage(String successMessage) Set up the success message.toString()JSON-like toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
equals, getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, hashCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
SuccessMessageResponse
public SuccessMessageResponse()Default constructor -
SuccessMessageResponse
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getSuccessMessage
Return the success message (if any).- Returns:
- string or null
-
setSuccessMessage
Set up the success message. This provides supplementary information about the services that have been changed.- Parameters:
successMessage- string or null
-
toString
JSON-like toString- Overrides:
toStringin classFFDCResponseBase- Returns:
- string containing the property names and values
-