public static enum Variable.Form extends Enum<Variable.Form>
| Enum Constant and Description |
|---|
LIST
Indicate that this variable can be expanded as a list of strings.
|
MAP
Indicates that this variable can be expanded as an associated array.
|
STRING
Indicate that this variable can be expanded as a simple string (default).
|
| Modifier and Type | Method and Description |
|---|---|
protected static Variable.Form |
getType(String exp)
Returns the type of this variable from the specified expression.
|
static Variable.Form |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Variable.Form[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Variable.Form STRING
public static final Variable.Form LIST
public static final Variable.Form MAP
public static Variable.Form[] values()
for (Variable.Form c : Variable.Form.values()) System.out.println(c);
public static Variable.Form 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 nullprotected static Variable.Form getType(String exp)
nullexp - The expression.Copyright © 2021. All rights reserved.