Package com.vaadin.hilla
Class FeatureFlagCondition
java.lang.Object
com.vaadin.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 using
ConditionalOnFeatureFlag
, is enabled.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Constructor Details
-
FeatureFlagCondition
public FeatureFlagCondition()
-
-
Method Details
-
matches
public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
matches
in interfaceorg.springframework.context.annotation.Condition
-