Index
All Classes and Interfaces|All Packages
C
- CfApplication - Class in io.pivotal.cfenv.core
- CfApplication(Map<String, Object>) - Constructor for class io.pivotal.cfenv.core.CfApplication
- CfCredentials - Class in io.pivotal.cfenv.core
-
Access service credentials.
- CfCredentials(Map<String, Object>) - Constructor for class io.pivotal.cfenv.core.CfCredentials
- CfEnv - Class in io.pivotal.cfenv.core
-
Provides access to Cloud Foundry environment variables.
- CfEnv() - Constructor for class io.pivotal.cfenv.core.CfEnv
- CfEnv(String, String) - Constructor for class io.pivotal.cfenv.core.CfEnv
- CfEnvSingleton - Class in io.pivotal.cfenv.core
-
JVM singleton for cases where you want to avoid reparsing the JSON per instance of
CfEnv - CfService - Class in io.pivotal.cfenv.core
-
Contains the Map of values and type-safe accessors for properties of a single service defined in VCAP_SERVICES.
- CfService(Map<String, Object>) - Constructor for class io.pivotal.cfenv.core.CfService
- CfVolume - Class in io.pivotal.cfenv.core
-
Access individual volume.
- CfVolume(Map<String, String>) - Constructor for class io.pivotal.cfenv.core.CfVolume
- CfVolume.Mode - Enum Class in io.pivotal.cfenv.core
- createCredentials() - Method in class io.pivotal.cfenv.core.CfService
- createVolumes() - Method in class io.pivotal.cfenv.core.CfService
E
- existsByCredentialsContainsUriField(String...) - Method in class io.pivotal.cfenv.core.CfService
-
There are common variations for the name of the uri field that prepend the schema portion of the URI, e.g.
- existsByLabelContains(String) - Method in class io.pivotal.cfenv.core.CfService
- existsByLabelStartsWith(String) - Method in class io.pivotal.cfenv.core.CfService
- existsByLabelStartsWith(String...) - Method in class io.pivotal.cfenv.core.CfService
- existsByTagIgnoreCase(String...) - Method in class io.pivotal.cfenv.core.CfService
- existsByUriSchemeStartsWith(String...) - Method in class io.pivotal.cfenv.core.CfService
F
- findAllServices() - Method in class io.pivotal.cfenv.core.CfEnv
- findCredentialsByLabel(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findCredentialsByName(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findCredentialsByTag(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findServiceByLabel(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findServiceByName(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findServiceByTag(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findServicesByLabel(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findServicesByName(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- findServicesByTag(String...) - Method in class io.pivotal.cfenv.core.CfEnv
- formatPort() - Method in class io.pivotal.cfenv.core.UriInfo
- formatQuery() - Method in class io.pivotal.cfenv.core.UriInfo
- formatUserNameAndPasswordQuery() - Method in class io.pivotal.cfenv.core.UriInfo
G
- getApp() - Method in class io.pivotal.cfenv.core.CfEnv
- getApplicationId() - Method in class io.pivotal.cfenv.core.CfApplication
- getApplicationName() - Method in class io.pivotal.cfenv.core.CfApplication
- getApplicationUris() - Method in class io.pivotal.cfenv.core.CfApplication
- getApplicationVersion() - Method in class io.pivotal.cfenv.core.CfApplication
- getCfApi() - Method in class io.pivotal.cfenv.core.CfApplication
- getCfEnvInstance() - Static method in class io.pivotal.cfenv.core.CfEnvSingleton
- getCredentials() - Method in class io.pivotal.cfenv.core.CfService
- getDerivedCredentials() - Method in class io.pivotal.cfenv.core.CfCredentials
-
Get a map that contains credentials derived from the credentials map
- getHost() - Method in class io.pivotal.cfenv.core.CfApplication
- getHost() - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return the host, under the keys 'host' and 'hostname' in the credential map.
- getHost() - Method in class io.pivotal.cfenv.core.UriInfo
- getInstanceId() - Method in class io.pivotal.cfenv.core.CfApplication
- getInstanceIndex() - Method in class io.pivotal.cfenv.core.CfApplication
- getLabel() - Method in class io.pivotal.cfenv.core.CfService
- getMap() - Method in class io.pivotal.cfenv.core.CfApplication
- getMap() - Method in class io.pivotal.cfenv.core.CfCredentials
- getMap() - Method in class io.pivotal.cfenv.core.CfService
- getMap() - Method in class io.pivotal.cfenv.core.CfVolume
- getMode() - Method in class io.pivotal.cfenv.core.CfVolume
- getName() - Method in class io.pivotal.cfenv.core.CfApplication
- getName() - Method in class io.pivotal.cfenv.core.CfCredentials
- getName() - Method in class io.pivotal.cfenv.core.CfService
- getPassword() - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return the password, under the key 'password' in the credential map.
- getPassword() - Method in class io.pivotal.cfenv.core.UriInfo
- getPath() - Method in class io.pivotal.cfenv.core.CfVolume
- getPath() - Method in class io.pivotal.cfenv.core.UriInfo
- getPlan() - Method in class io.pivotal.cfenv.core.CfService
- getPort() - Method in class io.pivotal.cfenv.core.CfApplication
- getPort() - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return the port, under the key 'port' in the credential map.
- getPort() - Method in class io.pivotal.cfenv.core.UriInfo
- getQuery() - Method in class io.pivotal.cfenv.core.UriInfo
- getScheme() - Method in class io.pivotal.cfenv.core.UriInfo
- getSpaceId() - Method in class io.pivotal.cfenv.core.CfApplication
- getSpaceName() - Method in class io.pivotal.cfenv.core.CfApplication
- getString(String...) - Method in class io.pivotal.cfenv.core.CfCredentials
- getString(String...) - Method in class io.pivotal.cfenv.core.CfService
- getTags() - Method in class io.pivotal.cfenv.core.CfService
- getUri() - Method in class io.pivotal.cfenv.core.UriInfo
- getUri(String...) - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return the URI field, by default look under the field name 'uri' and 'url', but also optionally look in field names that begin with the uriScheme and are suffixed with 'Uri', 'uri', 'Url' and 'url'
- getUriInfo() - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return UriInfo derived from the field 'uri' or 'url'
- getUriInfo(String) - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return UriInfo derived from URI field
- getUris() - Method in class io.pivotal.cfenv.core.CfApplication
- getUriString() - Method in class io.pivotal.cfenv.core.UriInfo
- getUsername() - Method in class io.pivotal.cfenv.core.CfCredentials
-
Return the username, under the keys 'username' and 'user' in the credential map.
- getUsername() - Method in class io.pivotal.cfenv.core.UriInfo
- getVersion() - Method in class io.pivotal.cfenv.core.CfApplication
I
- io.pivotal.cfenv.core - package io.pivotal.cfenv.core
- isInCf() - Method in class io.pivotal.cfenv.core.CfEnv
-
Checks that the value of the environment variable VCAP_APPLICATION is not null, usually indicating that this application is running inside of Cloud Foundry
J
- JsonIoConverter - Class in io.pivotal.cfenv.core
- JsonIoConverter() - Constructor for class io.pivotal.cfenv.core.JsonIoConverter
- jsonToJavaWithListsAndInts(String) - Static method in class io.pivotal.cfenv.core.JsonIoConverter
-
Conveniently takes a Json String as input and uses json-io to unserialize it.
R
- READ_ONLY - Enum constant in enum class io.pivotal.cfenv.core.CfVolume.Mode
- READ_WRITE - Enum constant in enum class io.pivotal.cfenv.core.CfVolume.Mode
T
- toString() - Method in class io.pivotal.cfenv.core.UriInfo
U
- UriInfo - Class in io.pivotal.cfenv.core
-
Utility class that allows expressing URIs in alternative forms: individual fields or a URI string
- UriInfo(String) - Constructor for class io.pivotal.cfenv.core.UriInfo
- UriInfo(String, String, int, String, String) - Constructor for class io.pivotal.cfenv.core.UriInfo
- UriInfo(String, String, int, String, String, String) - Constructor for class io.pivotal.cfenv.core.UriInfo
- UriInfo(String, String, int, String, String, String, String) - Constructor for class io.pivotal.cfenv.core.UriInfo
- urlDecode(String) - Static method in class io.pivotal.cfenv.core.UriInfo
- urlEncode(String) - Static method in class io.pivotal.cfenv.core.UriInfo
V
- valueOf(String) - Static method in enum class io.pivotal.cfenv.core.CfVolume.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.pivotal.cfenv.core.CfVolume.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages