public abstract class OnEnabledComponent<T>
extends org.springframework.boot.autoconfigure.condition.SpringBootCondition
implements org.springframework.context.annotation.ConfigurationCondition
| Constructor and Description |
|---|
OnEnabledComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<?> |
annotationClass() |
protected abstract Class<? extends T> |
defaultValueClass() |
protected Class<? extends T> |
getComponentType(Class<?> annotationClass,
org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata) |
org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase |
getConfigurationPhase() |
org.springframework.boot.autoconfigure.condition.ConditionOutcome |
getMatchOutcome(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata) |
protected abstract String |
normalizeComponentName(Class<? extends T> componentClass) |
anyMatches, logOutcome, matches, matchespublic org.springframework.context.annotation.ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
getConfigurationPhase in interface org.springframework.context.annotation.ConfigurationConditionpublic org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata)
getMatchOutcome in class org.springframework.boot.autoconfigure.condition.SpringBootConditionprotected Class<? extends T> getComponentType(Class<?> annotationClass, org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
protected abstract String normalizeComponentName(Class<? extends T> componentClass)
protected abstract Class<?> annotationClass()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.