|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.mmbase.module.tools.ApplicationResult
class ApplicationResult
Contains the status after installing an MMBase 'application'. I.e. whether is was successful, and a newline separated message String containing the reason(s).
| Field Summary | |
|---|---|
protected StringBuilder |
resultMessage
|
protected boolean |
success
|
| Constructor Summary | |
|---|---|
ApplicationResult()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final StringBuilder resultMessage
protected boolean success
| Constructor Detail |
|---|
public ApplicationResult()
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||