public enum VariableMode extends Enum<VariableMode>
Enum Constant and Description |
---|
EXCEPTION_ON_NOT_FOUND
An exception is thrown if the evaluation encounters a variable unknown in the current
stackframe
|
RETURN_DEFAULT_ON_NOT_FOUND
A default value is returned for variables which do not exist in the stackframe.
|
RETURN_NULL_ON_NOT_FOUND
NULL is returned for variables which do not exist in the stackframe.
|
Modifier and Type | Method and Description |
---|---|
static VariableMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableMode EXCEPTION_ON_NOT_FOUND
public static final VariableMode RETURN_DEFAULT_ON_NOT_FOUND
public static final VariableMode RETURN_NULL_ON_NOT_FOUND
public static VariableMode[] values()
for (VariableMode c : VariableMode.values()) System.out.println(c);
public static VariableMode 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