public final class RuleExecutionResult extends Object
Constructor and Description |
---|
RuleExecutionResult() |
Modifier and Type | Method and Description |
---|---|
com.onwbp.base.text.UserMessage |
getErrorMessage()
Returns the rule's error message.
|
boolean |
hasFailed()
Returns
true if rule execution fails. |
void |
setErrorMessage(com.onwbp.base.text.UserMessage errorMessage)
Sets the rule's error message.
|
void |
setResult(boolean result)
Sets the execution result.
|
public com.onwbp.base.text.UserMessage getErrorMessage()
public boolean hasFailed()
true
if rule execution fails.public void setErrorMessage(com.onwbp.base.text.UserMessage errorMessage)
public void setResult(boolean result)