Package org.glassfish.api.admin
Enum AdminCommandState.State
- java.lang.Object
-
- java.lang.Enum<AdminCommandState.State>
-
- org.glassfish.api.admin.AdminCommandState.State
-
- All Implemented Interfaces:
Serializable
,Comparable<AdminCommandState.State>
- Enclosing interface:
- AdminCommandState
public static enum AdminCommandState.State extends Enum<AdminCommandState.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED
FAILED_RETRYABLE
PREPARED
RECORDED
REVERTED
REVERTING
RUNNING
RUNNING_RETRYABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdminCommandState.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdminCommandState.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREPARED
public static final AdminCommandState.State PREPARED
-
RUNNING
public static final AdminCommandState.State RUNNING
-
COMPLETED
public static final AdminCommandState.State COMPLETED
-
RECORDED
public static final AdminCommandState.State RECORDED
-
RUNNING_RETRYABLE
public static final AdminCommandState.State RUNNING_RETRYABLE
-
FAILED_RETRYABLE
public static final AdminCommandState.State FAILED_RETRYABLE
-
REVERTING
public static final AdminCommandState.State REVERTING
-
REVERTED
public static final AdminCommandState.State REVERTED
-
-
Method Detail
-
values
public static AdminCommandState.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AdminCommandState.State c : AdminCommandState.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminCommandState.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-