public enum CommandInvocationStatus extends java.lang.Enum<CommandInvocationStatus>
Enum Constant and Description |
---|
Cancelled |
Cancelling |
Failed |
InProgress |
Pending |
Success |
TimedOut |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static CommandInvocationStatus |
fromValue(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static CommandInvocationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandInvocationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandInvocationStatus Pending
public static final CommandInvocationStatus InProgress
public static final CommandInvocationStatus Cancelling
public static final CommandInvocationStatus Success
public static final CommandInvocationStatus TimedOut
public static final CommandInvocationStatus Cancelled
public static final CommandInvocationStatus Failed
public static CommandInvocationStatus[] values()
for (CommandInvocationStatus c : CommandInvocationStatus.values()) System.out.println(c);
public static CommandInvocationStatus 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<CommandInvocationStatus>
public static CommandInvocationStatus fromValue(java.lang.String value)
value
- real value