| java.lang.Object org.mmbase.module.tools.ApplicationResult
ApplicationResult | class ApplicationResult (Code) | | Contains the status after installing an MMBase 'application'. I.e. whether is was successful, and
a newline separated message String containing the reason(s).
version: $Id: ApplicationResult.java,v 1.4 2007/10/02 12:15:14 michiel Exp $ |
Method Summary | |
public boolean | error(String message) Adds a message and logs it as an error, and sets the success status to false. | public String | getMessage() | public boolean | isSuccess() | public boolean | success(String message) Adds a message and sets the success status to true. | public boolean | warn(String message) Adds a message and logs it as an warning, and sets the success status to false. |
success | protected boolean success(Code) | | |
ApplicationResult | public ApplicationResult()(Code) | | |
error | public boolean error(String message)(Code) | | Adds a message and logs it as an error, and sets the success status to false.
|
isSuccess | public boolean isSuccess()(Code) | | |
success | public boolean success(String message)(Code) | | Adds a message and sets the success status to true.
|
warn | public boolean warn(String message)(Code) | | Adds a message and logs it as an warning, and sets the success status to false.
|
|
|