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:
-
Iterable
URL
Properties
Predicate
ConfigurableEnvironment
EnumerablePropertySource
Environment
PropertiesPropertySource
PropertySource
CloudCacheService
Service
User
-
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 VcapPropertySource
from
(Properties properties) static VcapPropertySource
from
(org.springframework.core.env.Environment environment) static VcapPropertySource
from
(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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getProperty
in classorg.springframework.core.env.PropertySource<org.springframework.core.env.EnumerablePropertySource<?>>
-
getVcapServicePredicate
-
iterator
-
withVcapServiceName
-
withVcapServicePredicate
@NonNull public VcapPropertySource withVcapServicePredicate(@Nullable Predicate<String> vcapServicePredicate)
-