Package org.drools.mvel.expr
Class MvelEvaluator<T>
- java.lang.Object
-
- org.drools.mvel.expr.MvelEvaluator<T>
-
public class MvelEvaluator<T> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMvelEvaluator.EvaluatorType
-
Field Summary
Fields Modifier and Type Field Description protected Serializableexprstatic StringTHREAD_SAFETY_PROPERTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> MvelEvaluator<T>createMvelEvaluator(Serializable expr)static <T> MvelEvaluator<T>createMvelEvaluator(MvelEvaluator<T> syncedWith, Serializable expr)Tevaluate(Object ctx)Tevaluate(Object ctx, Map<String,Object> vars)Tevaluate(Object ctx, org.mvel2.integration.VariableResolverFactory factory)Tevaluate(org.mvel2.integration.VariableResolverFactory factory)SerializablegetExpr()protected <T> TinternalEvaluate(Object ctx, org.mvel2.integration.VariableResolverFactory factory)static voidresetEvaluatorType()static voidsetEvaluatorType(MvelEvaluator.EvaluatorType evaluatorType)
-
-
-
Field Detail
-
THREAD_SAFETY_PROPERTY
public static final String THREAD_SAFETY_PROPERTY
- See Also:
- Constant Field Values
-
expr
protected final Serializable expr
-
-
Method Detail
-
setEvaluatorType
public static void setEvaluatorType(MvelEvaluator.EvaluatorType evaluatorType)
-
resetEvaluatorType
public static void resetEvaluatorType()
-
createMvelEvaluator
public static <T> MvelEvaluator<T> createMvelEvaluator(Serializable expr)
-
createMvelEvaluator
public static <T> MvelEvaluator<T> createMvelEvaluator(MvelEvaluator<T> syncedWith, Serializable expr)
-
evaluate
public T evaluate(org.mvel2.integration.VariableResolverFactory factory)
-
internalEvaluate
protected <T> T internalEvaluate(Object ctx, org.mvel2.integration.VariableResolverFactory factory)
-
getExpr
public Serializable getExpr()
-
-