T - The typepublic interface ConditionContext<T extends AnnotationMetadataProvider> extends BeanLocator, PropertyResolver
Condition.| Modifier and Type | Method and Description |
|---|---|
ConditionContext<T> |
fail(Failure failure)
Fail the condition with the given message.
|
default ConditionContext<T> |
fail(String failure)
Fail the condition with the given message.
|
BeanContext |
getBeanContext() |
BeanResolutionContext |
getBeanResolutionContext() |
T |
getComponent()
The component for which the condition is being evaluated.
|
default List<Failure> |
getFailures() |
default boolean |
isFailing() |
findBean, findBean, findBean, findBean, findOrInstantiateBean, getBean, getBean, getBean, getBean, getBean, getBeansOfType, getBeansOfType, getBeansOfType, getBeansOfType, getProxyTargetBean, getProxyTargetBean, streamOfType, streamOfType, streamOfType, streamOfTypecontainsProperties, containsProperty, get, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyEntries, getRequiredProperty, nameOfget, get, getT getComponent()
BeanDefinition or a BeanConfigurationBeanContext getBeanContext()
BeanResolutionContext getBeanResolutionContext()
ConditionContext<T> fail(@NonNull Failure failure)
failure - The failureConditionContextdefault ConditionContext<T> fail(@NonNull String failure)
failure - The failureConditionContextdefault boolean isFailing()