Class ConfigDataMissingEnvironmentPostProcessor
- java.lang.Object
-
- org.springframework.cloud.commons.ConfigDataMissingEnvironmentPostProcessor
-
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
,org.springframework.core.Ordered
public abstract class ConfigDataMissingEnvironmentPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
- Author:
- Ryan Baxter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigDataMissingEnvironmentPostProcessor.ImportException
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_IMPORT_PROPERTY
Spring config import property name.static int
ORDER
Order of post processor, set to run afterConfigDataEnvironmentPostProcessor
.
-
Constructor Summary
Constructors Constructor Description ConfigDataMissingEnvironmentPostProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
getOrder()
protected abstract String
getPrefix()
void
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
protected abstract boolean
shouldProcessEnvironment(org.springframework.core.env.Environment environment)
-
-
-
Field Detail
-
CONFIG_IMPORT_PROPERTY
public static final String CONFIG_IMPORT_PROPERTY
Spring config import property name.- See Also:
- Constant Field Values
-
ORDER
public static final int ORDER
Order of post processor, set to run afterConfigDataEnvironmentPostProcessor
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
shouldProcessEnvironment
protected abstract boolean shouldProcessEnvironment(org.springframework.core.env.Environment environment)
-
getPrefix
protected abstract String getPrefix()
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
- Specified by:
postProcessEnvironment
in interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
-