public enum ArgumentType extends Enum<ArgumentType>
| Enum Constant and Description |
|---|
ENUMERATED |
LIST |
NONE |
SINGLE |
| Modifier and Type | Method and Description |
|---|---|
static ArgumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArgumentType NONE
public static final ArgumentType SINGLE
public static final ArgumentType LIST
public static final ArgumentType ENUMERATED
public static ArgumentType[] values()
for (ArgumentType c : ArgumentType.values()) System.out.println(c);
public static ArgumentType 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 nullCopyright © 2020. All rights reserved.