Annotation Interface ConditionalOnFeaturesEnabled


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @ConditionalOnProperty(name="spring.cloud.features.enabled") public @interface ConditionalOnFeaturesEnabled
The conditional annotation meta-annotates @ConditionalOnProperty for @FeaturesEndpoint enabled.
Since:
1.0.0
Author:
Mercy
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Specify if the condition should match if the property is not set.
  • Element Details

    • matchIfMissing

      @AliasFor(annotation=org.springframework.boot.autoconfigure.condition.ConditionalOnProperty.class, attribute="matchIfMissing") boolean matchIfMissing
      Specify if the condition should match if the property is not set. Defaults to true.
      Returns:
      if the condition should match if the property is missing
      Default:
      true