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.
|
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.
|
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 Map<String,ConditionEvaluationReport.ConditionAndOutcomes> getConditionAndOutcomesBySource()
public ConditionEvaluationReport getParent()
public static ConditionEvaluationReport get(ConfigurableListableBeanFactory beanFactory)
ConditionEvaluationReport
for the specified bean factory.beanFactory
- the bean factoryConditionEvaluationReport
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.