public class ConfigDataEnvironmentPostProcessor extends Object implements EnvironmentPostProcessor, Ordered
| Modifier and Type | Field and Description | 
|---|---|
| static String | ON_LOCATION_NOT_FOUND_PROPERTYProperty used to determine what action to take when a
  ConfigDataLocationNotFoundExceptionis thrown. | 
| static int | ORDERThe default order for the processor. | 
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
| ConfigDataEnvironmentPostProcessor(DeferredLogFactory logFactory,
                                  ConfigurableBootstrapContext bootstrapContext) | 
| ConfigDataEnvironmentPostProcessor(DeferredLogFactory logFactory,
                                  ConfigurableBootstrapContext bootstrapContext,
                                  ConfigDataEnvironmentUpdateListener environmentUpdateListener) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | applyTo(ConfigurableEnvironment environment)Apply  ConfigDatapost-processing to an existingEnvironment. | 
| static void | applyTo(ConfigurableEnvironment environment,
       ResourceLoader resourceLoader,
       ConfigurableBootstrapContext bootstrapContext,
       Collection<String> additionalProfiles)Apply  ConfigDatapost-processing to an existingEnvironment. | 
| static void | applyTo(ConfigurableEnvironment environment,
       ResourceLoader resourceLoader,
       ConfigurableBootstrapContext bootstrapContext,
       Collection<String> additionalProfiles,
       ConfigDataEnvironmentUpdateListener environmentUpdateListener)Apply  ConfigDatapost-processing to an existingEnvironment. | 
| static void | applyTo(ConfigurableEnvironment environment,
       ResourceLoader resourceLoader,
       ConfigurableBootstrapContext bootstrapContext,
       String... additionalProfiles)Apply  ConfigDatapost-processing to an existingEnvironment. | 
| int | getOrder() | 
| void | postProcessEnvironment(ConfigurableEnvironment environment,
                      SpringApplication application)Post-process the given  environment. | 
public static final int ORDER
public static final String ON_LOCATION_NOT_FOUND_PROPERTY
ConfigDataLocationNotFoundException is thrown.ConfigDataNotFoundAction, 
Constant Field Valuespublic ConfigDataEnvironmentPostProcessor(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext)
public ConfigDataEnvironmentPostProcessor(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext, ConfigDataEnvironmentUpdateListener environmentUpdateListener)
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application)
EnvironmentPostProcessorenvironment.postProcessEnvironment in interface EnvironmentPostProcessorenvironment - the environment to post-processapplication - the application to which the environment belongspublic static void applyTo(ConfigurableEnvironment environment)
ConfigData post-processing to an existing Environment. This
 method can be useful when working with an Environment that has been created
 directly and not necessarily as part of a SpringApplication.environment - the environment to apply ConfigData topublic static void applyTo(ConfigurableEnvironment environment, ResourceLoader resourceLoader, ConfigurableBootstrapContext bootstrapContext, String... additionalProfiles)
ConfigData post-processing to an existing Environment. This
 method can be useful when working with an Environment that has been created
 directly and not necessarily as part of a SpringApplication.environment - the environment to apply ConfigData toresourceLoader - the resource loader to usebootstrapContext - the bootstrap context to use or null to use a
 throw-away contextadditionalProfiles - any additional profiles that should be appliedpublic static void applyTo(ConfigurableEnvironment environment, ResourceLoader resourceLoader, ConfigurableBootstrapContext bootstrapContext, Collection<String> additionalProfiles)
ConfigData post-processing to an existing Environment. This
 method can be useful when working with an Environment that has been created
 directly and not necessarily as part of a SpringApplication.environment - the environment to apply ConfigData toresourceLoader - the resource loader to usebootstrapContext - the bootstrap context to use or null to use a
 throw-away contextadditionalProfiles - any additional profiles that should be appliedpublic static void applyTo(ConfigurableEnvironment environment, ResourceLoader resourceLoader, ConfigurableBootstrapContext bootstrapContext, Collection<String> additionalProfiles, ConfigDataEnvironmentUpdateListener environmentUpdateListener)
ConfigData post-processing to an existing Environment. This
 method can be useful when working with an Environment that has been created
 directly and not necessarily as part of a SpringApplication.environment - the environment to apply ConfigData toresourceLoader - the resource loader to usebootstrapContext - the bootstrap context to use or null to use a
 throw-away contextadditionalProfiles - any additional profiles that should be appliedenvironmentUpdateListener - optional
 ConfigDataEnvironmentUpdateListener that can be used to track
 Environment updates.