We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.hilla.
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
-