Uses of Class
com.azure.spring.cloud.feature.management.models.Allocation
Packages that use Allocation
Package
Description
Package containing models classes for setting up Feature Flags, Feature Filters.
-
Uses of Allocation in com.azure.spring.cloud.feature.management.models
Methods in com.azure.spring.cloud.feature.management.models that return AllocationModifier and TypeMethodDescriptionFeatureDefinition.getAllocation()Gets the allocation strategy for this feature flag when using variants.Allocation.setDefaultWhenDisabled(String defaultWhenDisabled) Sets the variant to use when the feature flag is disabled and no specific allocation matches.Allocation.setDefaultWhenEnabled(String defaultWhenEnabled) Sets the variant to use when the feature flag is enabled and no specific allocation matches.Allocation.setGroup(List<GroupAllocation> group) Sets the list of group-specific allocations for the feature flag.Allocation.setPercentile(List<PercentileAllocation> percentile) Sets the list of percentile-based allocations for the feature flag.Sets the seed value used for randomization in allocation calculations.Allocation.setUser(List<UserAllocation> user) Sets the list of user-specific allocations for the feature flag.Methods in com.azure.spring.cloud.feature.management.models with parameters of type AllocationModifier and TypeMethodDescriptionFeatureDefinition.setAllocation(Allocation allocation) Sets the allocation strategy for this feature flag when using variants.