Class JexlRuleValidator.Result
java.lang.Object
net.simplace.core.jexl.JexlRuleValidator.Result
- Enclosing class:
JexlRuleValidator
Result of a check.
- Author:
- Andreas Enders, Claude (Anthropic), co-author
-
Method Details
-
getRule
- Returns:
- the checked rule
-
getComplexity
- Returns:
- how the rule is evaluated (VALUE: used as plain value)
-
getError
- Returns:
- the syntax error, or
null
-
getLine
public int getLine()- Returns:
- line of the syntax error in the rule (1-based), or -1
-
getColumn
public int getColumn()- Returns:
- column of the syntax error in the rule (1-based), or -1
-
getVariables
-
getUnknownVariables
-
getHints
-
isSyntaxValid
public boolean isSyntaxValid()- Returns:
trueif the rule has no syntax error
-
isValid
public boolean isValid()- Returns:
trueif the rule has no syntax error and no unknown variable
-
toString
-