|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JavaPropertiesTool.ErrorReturnCode>
org.opends.server.tools.JavaPropertiesTool.ErrorReturnCode
public static enum JavaPropertiesTool.ErrorReturnCode
The enumeration containing the different return codes that the command-line can have.
Enum Constant Summary | |
---|---|
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). |
Method Summary | |
---|---|
int |
getReturnCode()
Get the corresponding return code value. |
static JavaPropertiesTool.ErrorReturnCode |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static JavaPropertiesTool.ErrorReturnCode[] values()
for (JavaPropertiesTool.ErrorReturnCode c : JavaPropertiesTool.ErrorReturnCode.values()) System.out.println(c);
public static JavaPropertiesTool.ErrorReturnCode 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getReturnCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |