public static enum JavaPropertiesTool.ErrorReturnCode extends Enum<JavaPropertiesTool.ErrorReturnCode>
Enum Constant and Description |
---|
CONFLICTING_ARGS
Conflicting command line arguments.
|
ERROR_UNEXPECTED
Unexpected error (potential bug).
|
ERROR_USER_DATA
Cannot parse arguments or data provided by user is not valid.
|
ERROR_WRITING_FILE
Error writing to destination file.
|
SUCCESSFUL
Successful setup.
|
SUCCESSFUL_NOP
We did no have an error but the setup was not executed (displayed version or usage).
|
Modifier and Type | Method and Description |
---|---|
int |
getReturnCode()
Get the corresponding return code value.
|
static JavaPropertiesTool.ErrorReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaPropertiesTool.ErrorReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaPropertiesTool.ErrorReturnCode SUCCESSFUL
public static final JavaPropertiesTool.ErrorReturnCode SUCCESSFUL_NOP
public static final JavaPropertiesTool.ErrorReturnCode ERROR_UNEXPECTED
public static final JavaPropertiesTool.ErrorReturnCode ERROR_USER_DATA
public static final JavaPropertiesTool.ErrorReturnCode ERROR_WRITING_FILE
public static final JavaPropertiesTool.ErrorReturnCode CONFLICTING_ARGS
public static JavaPropertiesTool.ErrorReturnCode[] values()
for (JavaPropertiesTool.ErrorReturnCode c : JavaPropertiesTool.ErrorReturnCode.values()) System.out.println(c);
public static JavaPropertiesTool.ErrorReturnCode 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 int getReturnCode()
Copyright 2010-2017 ForgeRock AS.