Skip to content

Make it easier to display the condition evaluation report when using ApplicationContextRunner #13119

@wilkinsona

Description

@wilkinsona

A method on the runner itself would be ideal, but the runner doesn't know anything about condition evaluation. We may be able to do something similar to the approach taken with AutoConfigurations.of.

The goal is to provide a more succinct and discoverable equivalent of the following code:

ConditionEvaluationReport report = ConditionEvaluationReport
        .get((ConfigurableListableBeanFactory) context.getAutowireCapableBeanFactory());
ConditionEvaluationReportMessage message = new ConditionEvaluationReportMessage(report);
System.out.println(message);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions