public static enum AbstractUI.ExitCode extends java.lang.Enum<AbstractUI.ExitCode>
Enum Constant and Description |
---|
FAILED_TO_READ |
ILLEGAL_ARGUMENT_VALUE
Argument value is illegal
|
MISSING_ARGUMENT
Missing a required argument
|
MISSING_RESOURCE |
OK
Normal application termination
|
UNKNOWN_ARGUMENT
Argument is unknown to the application
|
Modifier and Type | Method and Description |
---|---|
static AbstractUI.ExitCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractUI.ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractUI.ExitCode OK
public static final AbstractUI.ExitCode MISSING_ARGUMENT
public static final AbstractUI.ExitCode UNKNOWN_ARGUMENT
public static final AbstractUI.ExitCode FAILED_TO_READ
public static final AbstractUI.ExitCode MISSING_RESOURCE
public static final AbstractUI.ExitCode ILLEGAL_ARGUMENT_VALUE
public static AbstractUI.ExitCode[] values()
for (AbstractUI.ExitCode c : AbstractUI.ExitCode.values()) System.out.println(c);
public static AbstractUI.ExitCode 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