public static enum EnhancedStatus.StatusClass extends Enum<EnhancedStatus.StatusClass>
Enum Constant and Description |
---|
PermanentFailure |
Success |
TransientFailure |
Modifier and Type | Method and Description |
---|---|
int |
code() |
static EnhancedStatus.StatusClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnhancedStatus.StatusClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnhancedStatus.StatusClass Success
public static final EnhancedStatus.StatusClass TransientFailure
public static final EnhancedStatus.StatusClass PermanentFailure
public static EnhancedStatus.StatusClass[] values()
for (EnhancedStatus.StatusClass c : EnhancedStatus.StatusClass.values()) System.out.println(c);
public static EnhancedStatus.StatusClass 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 code()