VariantAssignmentReason Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. spring. cloud. feature. management. models. VariantAssignmentReason
- com.
- java.
public enum VariantAssignmentReason
extends Enum<VariantAssignmentReason>
The reason why a given boolean/variant was returned when calling isEnabled/getVariant. This enum represents the different filtering mechanisms that determined the feature flag state.
Fields
| DEFAULT_WHEN_DISABLED |
Indicates the feature flag was evaluated based on the default value when the flag is disabled. |
| DEFAULT_WHEN_ENABLED |
Indicates the feature flag was evaluated based on the default value when the flag is enabled. |
| GROUP |
Indicates the feature flag was evaluated based on group targeting criteria. |
| NONE |
Indicates no specific reason was assigned for the feature flag evaluation. |
| PERCENTILE |
Indicates the feature flag was evaluated based on percentile targeting criteria. |
| USER |
Indicates the feature flag was evaluated based on user targeting criteria. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
getValue()
public String getValue()
Gets the string representation of this variant assignment reason.