public enum CommandLineConstants extends Enum<CommandLineConstants>
| Enum Constant and Description |
|---|
ENVIRONMENT |
HELP |
INTERACTIVE |
SOURCE |
TARGET |
| Modifier and Type | Method and Description |
|---|---|
String |
getArgument() |
String |
getDescription() |
static CommandLineConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineConstants ENVIRONMENT
public static final CommandLineConstants INTERACTIVE
public static final CommandLineConstants SOURCE
public static final CommandLineConstants TARGET
public static final CommandLineConstants HELP
public static CommandLineConstants[] values()
for (CommandLineConstants c : CommandLineConstants.values()) System.out.println(c);
public static CommandLineConstants 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 nullpublic String getArgument()
public String getDescription()
Copyright © 2017 JBoss by Red Hat. All rights reserved.