Interface ModelingRules.Result
- Enclosing interface:
- ModelingRules
public static interface ModelingRules.Result
The result returned from rule methods.
-
Method Summary
Modifier and TypeMethodDescriptionIfisOk() == false, should return an error message explaining why the change was refused.booleanisOk()Returnstrueif a change is ok,falseotherwise.
-
Method Details
-
isOk
boolean isOk()Returnstrueif a change is ok,falseotherwise. -
getFailMessage
String getFailMessage()IfisOk() == false, should return an error message explaining why the change was refused.
-