Enum Constant and Description |
---|
COMMAND_INIT_FAIL
The selected agent command failed to initialize.
|
EXEC_ABORTED
The selected agent command was forcefully terminated before completion.
|
EXEC_FAIL
The selected agent command failed to execute.
|
INIT_FAIL
Agent failed to bootstrap and/or initialize.
|
INVALID_ARGS
Command-line options provided are invalid.
|
SUCCESS
Agent command execution completed 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 INIT_FAIL
public static final ExitCode INVALID_ARGS
public static final ExitCode COMMAND_INIT_FAIL
public static final ExitCode EXEC_FAIL
public static final ExitCode EXEC_ABORTED
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