Class Variant
java.lang.Object
com.azure.spring.cloud.feature.management.models.Variant
Represents a feature flag variant in Azure Feature Management.
This class is the return object of the getVariant method and contains both
the name of the variant and its corresponding value instance. Variants allow
for multiple implementations of a feature beyond simple on/off states.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Variant
-
-
Method Details
-
getName
Gets the name of this variant.- Returns:
- the name that identifies this variant
-
getValue
Gets the implementation value of this variant. This can be any object that represents the variant's behavior or configuration.- Returns:
- the implementation value for this variant
-