class ApplicationResult extends Object
| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
resultMessage |
protected boolean |
success |
| Constructor and Description |
|---|
ApplicationResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(String message) |
boolean |
error(String message)
Adds a message and logs it as an error, and sets the success status to false.
|
String |
getMessage() |
boolean |
isSuccess() |
boolean |
success(String message)
Adds a message and sets the success status to true.
|
boolean |
warn(String message)
Adds a message and logs it as an warning, and sets the success status to false.
|
protected final StringBuilder resultMessage
protected boolean success
public String getMessage()
public boolean isSuccess()
public void addMessage(String message)
public boolean error(String message)
public boolean warn(String message)
public boolean success(String message)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}