com.vaadin.hilla.

Annotation Interface ConditionalOnFeatureFlag

@Retention(RUNTIME) @Target({TYPE,METHOD}) @Conditional(FeatureFlagCondition.class) public @interface ConditionalOnFeatureFlag

A condition for registering components only when a given feature flag is enabled.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description

    The id of the feature flag needed for the condition to be true.

  • Element Details

    • value

      String value

      The id of the feature flag needed for the condition to be true.

      Returns:

      the feature id