Enum Class EnvironmentActionState
- All Implemented Interfaces:
Serializable, Comparable<EnvironmentActionState>, Constable
Values of the Fabric v4
EnvironmentActionStateEnum schema: the state property of
EnvironmentActionResponse. The catalog describes the enum as
"ACTIVE - already used , INACTIVE - not used".
Per that description the state reports usage of the activation key, not progress of the
action: INACTIVE is returned for a key that has not been used and ACTIVE for
a key that has. The catalog does not define which event marks a key as used, and publishes no
response example.
Beta: EnvironmentActionResponse carries the catalog's Beta marker.
UNKNOWN is a read-side fallback for values added after this SDK release.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentActionStatefromString(String value) static EnvironmentActionStateReturns the enum constant of this class with the specified name.static EnvironmentActionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
The activation key has already been used. -
INACTIVE
The activation key has not been used. -
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
-