Package org.drools.mvel.expr
Enum MvelEvaluator.EvaluatorType
- java.lang.Object
-
- java.lang.Enum<MvelEvaluator.EvaluatorType>
-
- org.drools.mvel.expr.MvelEvaluator.EvaluatorType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MvelEvaluator.EvaluatorType>
- Enclosing class:
- MvelEvaluator<T>
public static enum MvelEvaluator.EvaluatorType extends java.lang.Enum<MvelEvaluator.EvaluatorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLY_SYNCHRONIZEDSYNCHRONIZED_TILL_EVALUATEDTHREAD_SAFE_ON_FIRST_EVALTHREAD_UNSAFE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MvelEvaluator<T>createMvelEvaluator(java.io.Serializable expr)<T> MvelEvaluator<T>createMvelEvaluator(MvelEvaluator<T> syncedWith, java.io.Serializable expr)static MvelEvaluator.EvaluatorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MvelEvaluator.EvaluatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THREAD_UNSAFE
public static final MvelEvaluator.EvaluatorType THREAD_UNSAFE
-
THREAD_SAFE_ON_FIRST_EVAL
public static final MvelEvaluator.EvaluatorType THREAD_SAFE_ON_FIRST_EVAL
-
SYNCHRONIZED_TILL_EVALUATED
public static final MvelEvaluator.EvaluatorType SYNCHRONIZED_TILL_EVALUATED
-
FULLY_SYNCHRONIZED
public static final MvelEvaluator.EvaluatorType FULLY_SYNCHRONIZED
-
-
Method Detail
-
values
public static MvelEvaluator.EvaluatorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MvelEvaluator.EvaluatorType c : MvelEvaluator.EvaluatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MvelEvaluator.EvaluatorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
createMvelEvaluator
public <T> MvelEvaluator<T> createMvelEvaluator(java.io.Serializable expr)
-
createMvelEvaluator
public <T> MvelEvaluator<T> createMvelEvaluator(MvelEvaluator<T> syncedWith, java.io.Serializable expr)
-
-