public static enum CommandLineArguments.Switch extends Enum<CommandLineArguments.Switch> implements com.globalmentor.lex.Identifier
| Enum Constant and Description |
|---|
HELP
The switch for help.
|
LOG_FILE
The file to use for logging.
|
LOG_LEVEL
The logging level.
|
QUIET
Quiet output.
|
VERBOSE
Verbose output.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandLineArguments.Switch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineArguments.Switch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineArguments.Switch VERBOSE
public static final CommandLineArguments.Switch QUIET
public static final CommandLineArguments.Switch HELP
public static final CommandLineArguments.Switch LOG_FILE
public static final CommandLineArguments.Switch LOG_LEVEL
public static CommandLineArguments.Switch[] values()
for (CommandLineArguments.Switch c : CommandLineArguments.Switch.values()) System.out.println(c);
public static CommandLineArguments.Switch 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 © 1996–2016 GlobalMentor, Inc.. All rights reserved.