Package dev.hilla
Annotation Type 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.
-
-
Element Detail
-
value
String value
The id of the feature flag needed for the condition to be true.- Returns:
- the feature id
-
-