Annotation Type ConditionalOnFeaturesEnabled
- 
 @Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @ConditionalOnProperty(name="spring.cloud.features.enabled") public @interface ConditionalOnFeaturesEnabledThe conditional annotation meta-annotates@ConditionalOnPropertyfor@FeaturesEndpointenabled.- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
- CommonsClientAutoConfiguration.ActuatorConfiguration,- FeaturesEndpoint,- HasFeatures,- CommonsPropertyConstants.FEATURES_ENABLED_PROPERTY_NAME,- ConditionalOnProperty
 
- 
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description booleanmatchIfMissingSpecify if the condition should match if the property is not set.
 
- 
- 
- 
Element Detail- 
matchIfMissing@AliasFor(annotation=org.springframework.boot.autoconfigure.condition.ConditionalOnProperty.class, attribute="matchIfMissing") boolean matchIfMissingSpecify if the condition should match if the property is not set. Defaults totrue.- Returns:
- if the condition should match if the property is missing
 - Default:
- true
 
 
- 
 
-