Interface ModelingRules.Result

Enclosing interface:
ModelingRules

public static interface ModelingRules.Result
The result returned from rule methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    If isOk() == false, should return an error message explaining why the change was refused.
    boolean
    Returns true if a change is ok, falseotherwise.
  • Method Details

    • isOk

      boolean isOk()
      Returns true if a change is ok, falseotherwise.
    • getFailMessage

      String getFailMessage()
      If isOk() == false, should return an error message explaining why the change was refused.