public class AutoConfigurationReport extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AutoConfigurationReport.ConditionAndOutcome
Provides access to a single
Condition and ConditionOutcome . |
static class |
AutoConfigurationReport.ConditionAndOutcomes
Provides access to a number of
AutoConfigurationReport.ConditionAndOutcome items. |
Modifier and Type | Method and Description |
---|---|
static AutoConfigurationReport |
get(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Obtain a
AutoConfigurationReport for the specified bean factory. |
Map<String,AutoConfigurationReport.ConditionAndOutcomes> |
getConditionAndOutcomesBySource()
Returns condition outcomes from this report, grouped by the source.
|
AutoConfigurationReport |
getParent()
The parent report (from a parent BeanFactory if there is one).
|
void |
recordConditionEvaluation(String source,
org.springframework.context.annotation.Condition condition,
ConditionOutcome outcome)
Record the occurrence of condition evaluation.
|
public void recordConditionEvaluation(String source, org.springframework.context.annotation.Condition condition, ConditionOutcome outcome)
source
- the source of the condition (class or method name)condition
- the condition evaluatedoutcome
- the condition outcomepublic Map<String,AutoConfigurationReport.ConditionAndOutcomes> getConditionAndOutcomesBySource()
public AutoConfigurationReport getParent()
public static AutoConfigurationReport get(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
AutoConfigurationReport
for the specified bean factory.beanFactory
- the bean factoryAutoConfigurationReport
Copyright © 2014. All rights reserved.