Package dev.hilla
Class FeatureFlagCondition
- java.lang.Object
-
- dev.hilla.FeatureFlagCondition
-
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class FeatureFlagCondition extends Object implements org.springframework.context.annotation.Condition
Checks if a given feature flag, defined usingConditionalOnFeatureFlag, is enabled.
-
-
Constructor Summary
Constructors Constructor Description FeatureFlagCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-