Class AbstractConfigProperties
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.AbstractConfigProperties
- Direct Known Subclasses:
ConfigMapConfigProperties,SecretsConfigProperties
Abstraction over configuration properties.
- Author:
- Ioannis Canellos, Isik Erhan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classKubernetes config retry properties. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected AbstractConfigProperties.RetryPropertiesprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetName()getRetry()booleanbooleanbooleanbooleanvoidsetEnabled(boolean enabled) voidsetFailFast(boolean failFast) voidsetIncludeProfileSpecificSources(boolean includeProfileSpecificSources) voidvoidsetNamespace(String namespace) voidvoidsetUseNameAsPrefix(boolean useNameAsPrefix)
-
Field Details
-
enabled
protected boolean enabled -
name
-
namespace
-
useNameAsPrefix
protected boolean useNameAsPrefix -
includeProfileSpecificSources
protected boolean includeProfileSpecificSources -
failFast
protected boolean failFast -
retry
-
-
Constructor Details
-
AbstractConfigProperties
public AbstractConfigProperties()
-
-
Method Details
-
getConfigurationTarget
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getName
-
setName
-
getNamespace
-
setNamespace
-
isUseNameAsPrefix
public boolean isUseNameAsPrefix() -
setUseNameAsPrefix
public void setUseNameAsPrefix(boolean useNameAsPrefix) -
isIncludeProfileSpecificSources
public boolean isIncludeProfileSpecificSources() -
setIncludeProfileSpecificSources
public void setIncludeProfileSpecificSources(boolean includeProfileSpecificSources) -
isFailFast
public boolean isFailFast() -
setFailFast
public void setFailFast(boolean failFast) -
getRetry
-
setRetry
-