public enum SpelCompilerMode extends java.lang.Enum<SpelCompilerMode>
Enum Constant and Description |
---|
IMMEDIATE
In immediate mode, expressions are compiled as soon as possible (usually after 1 interpreted run).
|
MIXED
In mixed mode, expression evaluation silently switches between interpreted and compiled over time.
|
OFF
The compiler is switched off; this is the default.
|
Modifier and Type | Method and Description |
---|---|
static SpelCompilerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpelCompilerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpelCompilerMode OFF
public static final SpelCompilerMode IMMEDIATE
public static final SpelCompilerMode MIXED
public static SpelCompilerMode[] values()
for (SpelCompilerMode c : SpelCompilerMode.values()) System.out.println(c);
public static SpelCompilerMode 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