Class AbstractKubernetesProfileEnvironmentPostProcessor
java.lang.Object
org.springframework.cloud.kubernetes.commons.profile.AbstractKubernetesProfileEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor,org.springframework.core.Ordered
public abstract class AbstractKubernetesProfileEnvironmentPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
- Author:
- Ryan Baxter
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()protected abstract booleanisInsideKubernetes(org.springframework.core.env.Environment environment) voidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Field Details
-
NAMESPACE_PROPERTY
- See Also:
-
KUBERNETES_PROFILE
Profile name.- See Also:
-
-
Constructor Details
-
AbstractKubernetesProfileEnvironmentPostProcessor
public AbstractKubernetesProfileEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironmentin interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
isInsideKubernetes
protected abstract boolean isInsideKubernetes(org.springframework.core.env.Environment environment) -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-