|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.plugin.ProcessResult
public class ProcessResult
This class represents result of plugin function and setup process. The result status can be error or confirmation. Set isError to true if perocess result is error, false otherwise.
Constructor Summary | |
---|---|
ProcessResult(java.lang.String message,
boolean isError)
Constract ProcessResult |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns message to show to the user (error message or confirmation message) |
boolean |
isError()
Returns true is result of the process is an error. |
void |
setMessage(java.lang.String message)
Sets message to show to the user (error message or confirmation message) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessResult(java.lang.String message, boolean isError)
message
- Message to show to the userisError
- True if message is an error message, false message is a confirmation message.Method Detail |
---|
public boolean isError()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The message to set.
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |