Class VcapPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<org.springframework.core.env.EnumerablePropertySource<?>>
org.springframework.geode.core.env.VcapPropertySource
public class VcapPropertySource
extends org.springframework.core.env.PropertySource<org.springframework.core.env.EnumerablePropertySource<?>>
implements Iterable<String>
The
VcapPropertySource class is a Spring PropertySource to process
VCAP environment properties in Pivotal CloudFoundry.- Since:
- 1.0.0
- See Also:
-
IterableURLPropertiesPredicateConfigurableEnvironmentEnumerablePropertySourceEnvironmentPropertiesPropertySourcePropertySourceCloudCacheServiceServiceUser
-
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 -
Method Summary
Modifier and TypeMethodDescriptionfindAllPropertiesByNameMatching(Iterable<String> properties, Predicate<String> predicate) findAllPropertiesByNameMatching(Predicate<String> predicate) findAllPropertiesByValueMatching(Iterable<String> properties, Predicate<Object> predicate) findAllPropertiesByValueMatching(Predicate<Object> predicate) findTargetVcapServiceProperties(Predicate<String> vcapServicePropertiesPredicate) findUserByName(Service service, String targetUsername) static VcapPropertySourcefrom(Properties properties) static VcapPropertySourcefrom(org.springframework.core.env.Environment environment) static VcapPropertySourcefrom(org.springframework.core.env.PropertySource<?> propertySource) getProperty(String name) iterator()withVcapServiceName(String serviceName) withVcapServicePredicate(Predicate<String> vcapServicePredicate) Methods inherited from class org.springframework.core.env.PropertySource
containsProperty, equals, getName, getSource, hashCode, named, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
from
-
from
-
from
public static VcapPropertySource from(org.springframework.core.env.PropertySource<?> propertySource) -
findAllPropertiesByNameMatching
-
findAllPropertiesByNameMatching
-
findAllPropertiesByValueMatching
-
findAllPropertiesByValueMatching
-
findAllVcapApplicationProperties
-
findAllVcapServicesProperties
-
findTargetVcapServiceProperties
-
findFirstCloudCacheService
-
requireFirstCloudCacheService
-
findFirstCloudCacheServiceName
-
requireFirstCloudCacheServiceName
-
findUserByName
-
findFirstUserByRoleClusterOperator
-
getProperty
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<org.springframework.core.env.EnumerablePropertySource<?>>
-
getVcapServicePredicate
-
iterator
-
withVcapServiceName
-
withVcapServicePredicate
@NonNull public VcapPropertySource withVcapServicePredicate(@Nullable Predicate<String> vcapServicePredicate)
-