Class OnEnabledPredicate
- java.lang.Object
-
- org.springframework.boot.autoconfigure.condition.SpringBootCondition
-
- org.springframework.cloud.gateway.config.conditional.OnEnabledComponent<RoutePredicateFactory<?>>
-
- org.springframework.cloud.gateway.config.conditional.OnEnabledPredicate
-
- All Implemented Interfaces:
org.springframework.context.annotation.Condition,org.springframework.context.annotation.ConfigurationCondition
public class OnEnabledPredicate extends OnEnabledComponent<RoutePredicateFactory<?>>
-
-
Constructor Summary
Constructors Constructor Description OnEnabledPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>annotationClass()protected Class<? extends RoutePredicateFactory<?>>defaultValueClass()protected StringnormalizeComponentName(Class<? extends RoutePredicateFactory<?>> predicateClass)-
Methods inherited from class org.springframework.cloud.gateway.config.conditional.OnEnabledComponent
getComponentType, getConfigurationPhase, getMatchOutcome
-
Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
-
-
-
Method Detail
-
normalizeComponentName
protected String normalizeComponentName(Class<? extends RoutePredicateFactory<?>> predicateClass)
- Specified by:
normalizeComponentNamein classOnEnabledComponent<RoutePredicateFactory<?>>
-
annotationClass
protected Class<?> annotationClass()
- Specified by:
annotationClassin classOnEnabledComponent<RoutePredicateFactory<?>>
-
defaultValueClass
protected Class<? extends RoutePredicateFactory<?>> defaultValueClass()
- Specified by:
defaultValueClassin classOnEnabledComponent<RoutePredicateFactory<?>>
-
-