Class ConfigDataEnvironmentPostProcessor
java.lang.Object
org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor
- All Implemented Interfaces:
EnvironmentPostProcessor,Ordered
public class ConfigDataEnvironmentPostProcessor
extends Object
implements EnvironmentPostProcessor, Ordered
- Since:
- 2.4.0
- Author:
- Phillip Webb, Madhura Bhave, Nguyen Bao Sach
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty used to determine what action to take when aConfigDataLocationNotFoundExceptionis thrown.static final intThe default order for the processor.Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionConfigDataEnvironmentPostProcessor(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyTo(ConfigurableEnvironment environment) ApplyConfigDatapost-processing to an existingEnvironment.static voidapplyTo(ConfigurableEnvironment environment, ResourceLoader resourceLoader, ConfigurableBootstrapContext bootstrapContext, String... additionalProfiles) ApplyConfigDatapost-processing to an existingEnvironment.static voidapplyTo(ConfigurableEnvironment environment, ResourceLoader resourceLoader, ConfigurableBootstrapContext bootstrapContext,