Class NamedSecretNormalizedSource
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.NormalizedSource
org.springframework.cloud.kubernetes.commons.config.NamedSecretNormalizedSource
A secret source that is based on name.
- Author:
- wind57
-
Constructor Summary
ConstructorsConstructorDescriptionNamedSecretNormalizedSource(String name, String namespace, boolean failFast, boolean includeProfileSpecificSources) NamedSecretNormalizedSource(String name, String namespace, boolean failFast, ConfigUtils.Prefix prefix, boolean includeProfileSpecificSources) NamedSecretNormalizedSource(String name, String namespace, boolean failFast, ConfigUtils.Prefix prefix, boolean includeProfileSpecificSources, boolean appendProfileToName) -
Method Summary
Methods inherited from class NormalizedSource
failFast, name, namespace
-
Constructor Details
-
NamedSecretNormalizedSource
public NamedSecretNormalizedSource(String name, String namespace, boolean failFast, ConfigUtils.Prefix prefix, boolean includeProfileSpecificSources, boolean appendProfileToName) -
NamedSecretNormalizedSource
-
NamedSecretNormalizedSource
public NamedSecretNormalizedSource(String name, String namespace, boolean failFast, ConfigUtils.Prefix prefix, boolean includeProfileSpecificSources)
-
-
Method Details
-
profileSpecificSources
public boolean profileSpecificSources() -
appendProfileToName
public boolean appendProfileToName()append or not the active profiles to the name of the generated source. At the moment this is true only for config server generated sources. -
prefix
-
type
Description copied from class:NormalizedSourcetype of this normalized source. Callers are sensitive towards the actual type specified.- Specified by:
typein classNormalizedSource
-
target
- Specified by:
targetin classNormalizedSource
-
toString
- Specified by:
toStringin classNormalizedSource
-
equals
- Specified by:
equalsin classNormalizedSource
-
hashCode
public int hashCode()- Specified by:
hashCodein classNormalizedSource
-