Package org.compiere.util
Class LegacyLogicEvaluator
- java.lang.Object
-
- org.compiere.util.LegacyLogicEvaluator
-
public final class LegacyLogicEvaluator extends Object
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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
evaluateLogic(Evaluatee source, String logic)
Deprecated.Evaluate Logic.
-
-
-
Method Detail
-
evaluateLogic
public static boolean evaluateLogic(Evaluatee source, String logic)
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
-
-