@InterfaceAudience.Private public enum RegionOpeningState extends Enum<RegionOpeningState>
Enum Constant and Description |
---|
ALREADY_OPENED |
FAILED_OPENING |
OPENED |
Modifier and Type | Method and Description |
---|---|
static RegionOpeningState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionOpeningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionOpeningState OPENED
public static final RegionOpeningState ALREADY_OPENED
public static final RegionOpeningState FAILED_OPENING
public static RegionOpeningState[] values()
for (RegionOpeningState c : RegionOpeningState.values()) System.out.println(c);
public static RegionOpeningState 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 null