public enum EvaluationPolicy extends java.lang.Enum<EvaluationPolicy>
| Enum Constant and Description |
|---|
ALWAYS
Evaluate the script on each invocation.
|
IF_MODIFIED
Evaluate the script only if it has been modified.
|
ONCE
Evaluate the script only once.
|
| Modifier and Type | Method and Description |
|---|---|
static EvaluationPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EvaluationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvaluationPolicy ONCE
public static final EvaluationPolicy IF_MODIFIED
public static final EvaluationPolicy ALWAYS
public static EvaluationPolicy[] values()
for (EvaluationPolicy c : EvaluationPolicy.values()) System.out.println(c);
public static EvaluationPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null