public class ConditionEvaluationReport extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConditionEvaluationReport.ConditionAndOutcome
Provides access to a single
Condition and ConditionOutcome . |
static class |
ConditionEvaluationReport.ConditionAndOutcomes
Provides access to a number of
ConditionEvaluationReport.ConditionAndOutcome items. |
Modifier and Type | Method and Description |
---|---|
static ConditionEvaluationReport |
get(ConfigurableListableBeanFactory beanFactory)
Obtain a
ConditionEvaluationReport for the specified bean factory. |
Map<String,ConditionEvaluationReport.ConditionAndOutcomes> |
getConditionAndOutcomesBySource()
Returns condition outcomes from this report, grouped by the source.
|
List<String> |
getExclusions()
Returns the name of the classes that have been excluded from condition evaluation.
|
ConditionEvaluationReport |
getParent()
The parent report (from a parent BeanFactory if there is one).
|
void |
recordConditionEvaluation(String source,
Condition condition,
ConditionOutcome outcome)
Record the occurrence of condition evaluation.
|
void |
recordExclusions(Collection<String> exclusions)
Records the name of the classes that have been excluded from condition evaluation
|
public void recordConditionEvaluation(String source, Condition condition, ConditionOutcome outcome)
source
- the source of the condition (class or method name)condition
- the condition evaluatedoutcome
- the condition outcomepublic void recordExclusions(Collection<String> exclusions)
exclusions
- the names of the excluded classespublic Map<String,ConditionEvaluationReport.ConditionAndOutcomes> getConditionAndOutcomesBySource()
public List<String> getExclusions()
public ConditionEvaluationReport getParent()
public static ConditionEvaluationReport get(ConfigurableListableBeanFactory beanFactory)
ConditionEvaluationReport
for the specified bean factory.beanFactory
- the bean factoryConditionEvaluationReport
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.