Class ParameterManagerPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<ParameterManagerTemplate>
com.google.cloud.spring.parametermanager.ParameterManagerPropertySource
public class ParameterManagerPropertySource
extends org.springframework.core.env.EnumerablePropertySource<ParameterManagerTemplate>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource -
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
ConstructorsConstructorDescriptionParameterManagerPropertySource(String propertySourceName, ParameterManagerTemplate parameterManagerTemplate, GcpProjectIdProvider projectIdProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) String[]TheParameterManagerPropertySourceis not enumerable, so this always returns an empty array.Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsPropertyMethods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
ParameterManagerPropertySource
public ParameterManagerPropertySource(String propertySourceName, ParameterManagerTemplate parameterManagerTemplate, GcpProjectIdProvider projectIdProvider)
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<ParameterManagerTemplate>
-
getPropertyNames
TheParameterManagerPropertySourceis not enumerable, so this always returns an empty array.- Specified by:
getPropertyNamesin classorg.springframework.core.env.EnumerablePropertySource<ParameterManagerTemplate>- Returns:
- the empty array.
-