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.boolean
isOk()
Returnstrue
if a change is ok,false
otherwise.
-
Method Details
-
isOk
boolean isOk()Returnstrue
if a change is ok,false
otherwise. -
getFailMessage
String getFailMessage()IfisOk() == false
, should return an error message explaining why the change was refused.
-