|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextgrid.api.pom.Expression
com.gridsystems.nextgrid.api.pom.expr.AbstractOperatorExpression
com.gridsystems.nextgrid.api.pom.expr.OrExpression
public class OrExpression
Combines multiple expressions by linking them through OR operators.
It evaluates the contained expressions in shortcut mode (until the expression is false) and from left to right by default.
Constructor Summary | |
---|---|
OrExpression(nextgrid.api.pom.Expression... expr)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
boolEval(nextgrid.api.env.ProcessEnvironment env,
java.lang.Object o)
|
Methods inherited from class com.gridsystems.nextgrid.api.pom.expr.AbstractOperatorExpression |
---|
getExpressions, isEvaluatedLeftToRight, isShortcutModeEnabled, setEvaluatedLeftToRight, setExpressions, setShortcutModeEnabled, validate |
Methods inherited from class nextgrid.api.pom.Expression |
---|
getLang, getText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrExpression(nextgrid.api.pom.Expression... expr) throws nextgrid.api.pom.ExpressionException
expr
- The list of expressions
nextgrid.api.pom.ExpressionException
- If an unexpected error occursMethod Detail |
---|
public boolean boolEval(nextgrid.api.env.ProcessEnvironment env, java.lang.Object o) throws nextgrid.api.pom.ExpressionException
boolEval
in class nextgrid.api.pom.Expression
nextgrid.api.pom.ExpressionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |