Enum Constant and Description |
---|
ERROR_GENERATING_CONFIG
Unable to generate configuration
|
ERROR_INCORRECT_NUMBER_OF_PASSWORDS
Specified wrong number of passwords
|
ERROR_PARSING_COMMAND_LINE
Unable to parse command line
|
ERROR_PARSING_INT_ARG
Expected an integer for an argument
|
ERROR_READING_NIFI_PROPERTIES
Unable to read nifi.properties
|
ERROR_TOKEN_ARG_EMPTY
Did not specify token
|
HELP
Tool exited after printing help
|
INVALID_ARGS
Invalid arguments passed in via command line
|
SERVICE_ERROR
Error invoking service
|
SUCCESS
Tool ran successfully
|
Modifier and Type | Method and Description |
---|---|
static ExitCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExitCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitCode SUCCESS
public static final ExitCode HELP
public static final ExitCode INVALID_ARGS
public static final ExitCode SERVICE_ERROR
public static final ExitCode ERROR_PARSING_COMMAND_LINE
public static final ExitCode ERROR_GENERATING_CONFIG
public static final ExitCode ERROR_INCORRECT_NUMBER_OF_PASSWORDS
public static final ExitCode ERROR_PARSING_INT_ARG
public static final ExitCode ERROR_TOKEN_ARG_EMPTY
public static final ExitCode ERROR_READING_NIFI_PROPERTIES
public static ExitCode[] values()
for (ExitCode c : ExitCode.values()) System.out.println(c);
public static 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