Udostępnij przez


com.azure.spring.cloud.feature.management.models

Package containing models classes for setting up Feature Flags, Feature Filters.

Classes

Allocation

Allocation of a feature flag to variants.

Conditions

Conditions for evaluating a feature flag.

EvaluationEvent

Event tracking the evaluation of a feature flag.

FeatureDefinition

This class represents a complete feature flag definition including its identity, description, enabled state, conditions for evaluation, variant allocation, and variant references for feature flags that support multiple variations.

FeatureFilterEvaluationContext

Context passed into Feature Filters used for evaluation.

FeatureManagementException

This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is enabled.

FeatureTelemetry

Represents telemetry configuration for feature management.

FilterNotFoundException

This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is enabled.

FilterParameters

Parameters for the predefined filters.

GroupAllocation

Group allocation of a variant for feature flag targeting.

PercentileAllocation

Percentile allocation of a variant for feature flag targeting.

TargetingException

This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is enabled.

UserAllocation

User allocation of a variant for feature flag targeting.

Variant

Represents a feature flag variant in Azure Feature Management.

VariantReference

Reference to a Variant containing the Variant name, configuration value, and possible status override.

Enums

VariantAssignmentReason

The reason why a given boolean/variant was returned when calling isEnabled/getVariant.