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 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 interface org.springframework.context.annotation.Condition