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 classConfigDataMissingEnvironmentPostProcessor.ImportException
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_IMPORT_PROPERTYSpring config import property name.static intORDEROrder 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 intgetOrder()protected abstract StringgetPrefix()voidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)protected abstract booleanshouldProcessEnvironment(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:
getOrderin 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:
postProcessEnvironmentin interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
-