Condition that offers more fine-grained control when used with
@Configuration. Allows certain conditions to adapt when they match
based on the configuration phase. For example, a condition that checks if a bean
has already been registered might choose to only be evaluated during the
REGISTER_BEAN ConfigurationPhase.
Configuration
| Modifier and Type | Class and Description |
|---|---|
| public static enum | ConfigurationCondition.
The various configuration phases where the condition could be evaluated. |
| Modifier and Type | Method and Description |
|---|---|
| public ConfigurationCondition. |
| getConfigurationPhase | back to summary |
|---|---|
| public ConfigurationCondition. Return the | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ConfigurationCondition. | PARSE_CONFIGURATION
The |
| public static final ConfigurationCondition. | REGISTER_BEAN
The |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ConfigurationCondition. | |
| public static ConfigurationCondition. |
| PARSE_CONFIGURATION | back to summary |
|---|---|
| public static final ConfigurationCondition. The If the condition does not match at this point, the | |
| REGISTER_BEAN | back to summary |
|---|---|
| public static final ConfigurationCondition. The At the time that the condition is evaluated, all | |
| ConfigurationPhase | back to summary |
|---|---|
| private ConfigurationPhase() | |
| valueOf | back to summary |
|---|---|
| public static ConfigurationCondition. | |
| values | back to summary |
|---|---|
| public static ConfigurationCondition. | |