class BeanTypeNotPresentCondition extends java.lang.Object implements ConfigurationCondition
ConfigurationCondition.ConfigurationPhase
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
beanType |
private static Log |
logger |
Constructor and Description |
---|
BeanTypeNotPresentCondition(java.lang.Class<?> beanType) |
Modifier and Type | Method and Description |
---|---|
ConfigurationCondition.ConfigurationPhase |
getConfigurationPhase()
Return the
ConfigurationCondition.ConfigurationPhase in which the condition should be evaluated. |
boolean |
matches(ConditionContext context,
AnnotatedTypeMetadata metadata)
Determine if the condition matches.
|
private static final Log logger
private final java.lang.Class<?> beanType
BeanTypeNotPresentCondition(java.lang.Class<?> beanType)
public ConfigurationCondition.ConfigurationPhase getConfigurationPhase()
ConfigurationCondition
ConfigurationCondition.ConfigurationPhase
in which the condition should be evaluated.getConfigurationPhase
in interface ConfigurationCondition
public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)
Condition