Enum Class ProvisioningState
- All Implemented Interfaces:
Serializable, Comparable<ProvisioningState>, Constable
Provisioning state of a specification feature (
common.yaml#/ProvisioningState); carried
by Feature.provisioningState. Constant names equal the wire values.
Beta: derived from the open specification at commit bbfc763 (see the package
documentation). Features are negotiated provider-to-provider; a customer does not create or
read them directly. The nearest Fabric v4 analogue is RoutingProtocolState.
UNKNOWN is a read-side fallback for values added after this SDK release; never send
it.
- Author:
- ianjones
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfiguration has propagated to the provider's infrastructure; the customer may send production traffic between providers using the feature.The feature is created and its parameters are reserved.Read-side fallback for a value this enum does not list. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProvisioningStatefromString(String value) Parses a wire value.static ProvisioningStateReturns the enum constant of this class with the specified name.static ProvisioningState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROVISIONING_STATE_PENDING
The feature is created and its parameters are reserved. -
PROVISIONING_STATE_FINAL
Configuration has propagated to the provider's infrastructure; the customer may send production traffic between providers using the feature. -
UNKNOWN
Read-side fallback for a value this enum does not list.
-
-
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
Parses a wire value. Surrounding whitespace is trimmed and case is ignored.- Parameters:
value- the wire value, for examplePROVISIONING_STATE_FINAL; may be null- Returns:
- the matching constant, or
UNKNOWNwhenvalueis null, blank or not listed
-