@Condition
annotations and supporting classes.See: Description
Class | Description |
---|---|
AllNestedConditions |
Condition that will match when all nested class conditions match. |
AnyNestedCondition |
Condition that will match when any nested class condition matches. |
ConditionEvaluationReport |
Records condition evaluation details for reporting and logging.
|
ConditionEvaluationReport.ConditionAndOutcome |
Provides access to a single
Condition and ConditionOutcome . |
ConditionEvaluationReport.ConditionAndOutcomes |
Provides access to a number of
ConditionEvaluationReport.ConditionAndOutcome items. |
ConditionMessage |
A message associated with a
ConditionOutcome . |
ConditionOutcome |
Outcome for a condition match, including log message.
|
NoneNestedConditions |
Condition that will match when none of the nested class conditions match. |
ResourceCondition |
SpringBootCondition used to check if a resource can be found using a
configurable property and optional default location(s). |
SpringBootCondition |
Base of all
Condition implementations used with Spring Boot. |
Enum | Description |
---|---|
ConditionalOnJava.JavaVersion |
Java versions.
|
ConditionalOnJava.Range |
Range options.
|
ConditionMessage.Style |
Render styles.
|
SearchStrategy |
Some named search strategies for beans in the bean factory hierarchy.
|
Annotation Type | Description |
---|---|
ConditionalOnBean |
Conditional that only matches when the specified bean classes and/or names are
already contained in the BeanFactory . |
ConditionalOnClass |
Conditional that only matches when the specified classes are on the classpath. |
ConditionalOnCloudPlatform |
Conditional that matches when the specified cloud platform is active. |
ConditionalOnExpression |
Configuration annotation for a conditional element that depends on the value of a SpEL
expression.
|
ConditionalOnJava |
Conditional that matches based on the JVM version the application is running
on. |
ConditionalOnJndi |
Conditional that matches based on the availability of a JNDI
InitialContext and the ability to lookup specific locations. |
ConditionalOnMissingBean |
Conditional that only matches when the specified bean classes and/or names are
not already contained in the BeanFactory . |
ConditionalOnMissingClass |
Conditional that only matches when the specified classes are not on the
classpath. |
ConditionalOnNotWebApplication |
Conditional that only matches when the application context is a not a web
application context. |
ConditionalOnProperty |
Conditional that checks if the specified properties have a specific value. |
ConditionalOnResource |
Conditional that only matches when the specified resources are on the
classpath. |
ConditionalOnSingleCandidate |
Conditional that only matches when the specified bean class is already
contained in the BeanFactory and a single candidate can be determined. |
ConditionalOnWebApplication |
Conditional that only matches when the application context is a web application
context. |
@Condition
annotations and supporting classes.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.