Annotation Interface ConditionalOnEnabledPredicate
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@Conditional(OnEnabledPredicate.class)
public @interface ConditionalOnEnabledPredicate
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends RoutePredicateFactory<?>> The class components to check for.
-
Element Details
-
value
Class<? extends RoutePredicateFactory<?>> valueThe class components to check for.- Returns:
- the class that must be enabled
- Default:
org.springframework.cloud.gateway.config.conditional.OnEnabledPredicate.DefaultValue.class
-