Package io.goobi.viewer.api.rest.model
Class SuccessMessage
java.lang.Object
io.goobi.viewer.api.rest.model.SuccessMessage
- All Implemented Interfaces:
IResponseMessage
SuccessMessage class.
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorDescriptionSuccessMessage
(boolean success) Constructor for SuccessMessage.SuccessMessage
(boolean success, String message) Constructor for SuccessMessage. -
Method Summary
-
Constructor Details
-
SuccessMessage
Constructor for SuccessMessage.
- Parameters:
success
- a boolean.message
- aString
object.
-
SuccessMessage
public SuccessMessage(boolean success) Constructor for SuccessMessage.
- Parameters:
success
- a boolean.
-
-
Method Details
-
isSuccess
public boolean isSuccess()isSuccess.
- Returns:
- the success
-
getMessage
Getter for the field
message
.- Specified by:
getMessage
in interfaceIResponseMessage
- Returns:
- the message
-
hashCode
public int hashCode() -
equals
-