Example usage for org.springframework.boot.context.properties.migrator PropertiesMigrationReporter PropertiesMigrationReporter

List of usage examples for org.springframework.boot.context.properties.migrator PropertiesMigrationReporter PropertiesMigrationReporter

Introduction

In this page you can find the example usage for org.springframework.boot.context.properties.migrator PropertiesMigrationReporter PropertiesMigrationReporter.

Prototype

PropertiesMigrationReporter(ConfigurationMetadataRepository metadataRepository,
            ConfigurableEnvironment environment) 

Source Link

Usage

From source file:org.springframework.boot.context.properties.migrator.PropertiesMigrationListener.java

private void onApplicationPreparedEvent(ApplicationPreparedEvent event) {
    ConfigurationMetadataRepository repository = loadRepository();
    PropertiesMigrationReporter reporter = new PropertiesMigrationReporter(repository,
            event.getApplicationContext().getEnvironment());
    this.report = reporter.getReport();
}