protected static enum CommandLineParser.Accept extends java.lang.Enum<CommandLineParser.Accept>
Enum Constant and Description |
---|
ACCEPT_AND_STOP |
CONTINUE |
REJECT_AND_STOP |
Modifier and Type | Method and Description |
---|---|
static CommandLineParser.Accept |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineParser.Accept[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineParser.Accept CONTINUE
public static final CommandLineParser.Accept ACCEPT_AND_STOP
public static final CommandLineParser.Accept REJECT_AND_STOP
public static CommandLineParser.Accept[] values()
for (CommandLineParser.Accept c : CommandLineParser.Accept.values()) System.out.println(c);
public static CommandLineParser.Accept valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null