public enum SpelCompilerMode extends 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 evaluate 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null