Package org.compiere.util
Class LegacyLogicEvaluator
java.lang.Object
org.compiere.util.LegacyLogicEvaluator
Deprecated.
Legacy Logic Expression Evaluator
- Version:
- $Id: Evaluator.java,v 1.3 2006/07/30 00:54:36 jjanke Exp $
- Author:
- Jorg Janke
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
evaluateLogic
(Evaluatee source, String logic) Deprecated.Evaluate Logic.
-
Method Details
-
evaluateLogic
Deprecated.Evaluate Logic.format := <expression> [<logic> <expression>] expression := @<context>@<exLogic><value> logic := <|> | <&> exLogic := <=> | <!> | <^> | <<> | <>> context := any global or window context value := strings can be with ' or " logic operators := AND or OR with the prevoius result from left to right Example '@AD_Table@=Test | @Language@=GERGER
- Parameters:
source
- class implementing get_ValueAsString(variable)logic
- logic string- Returns:
- logic result
-