public enum SpelCompilerMode extends Enum<SpelCompilerMode>
| 枚举常量和说明 |
|---|
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.
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值