public class EnvHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JCLOUDS_BLOBSTORE_API |
static String |
JCLOUDS_BLOBSTORE_CREDENTIAL |
static String |
JCLOUDS_BLOBSTORE_ENDPOINT |
static String |
JCLOUDS_BLOBSTORE_IDENTITY |
static String |
JCLOUDS_BLOBSTORE_PROVIDER |
static String |
JCLOUDS_COMPUTE_API |
static String |
JCLOUDS_COMPUTE_CREDENTIAL |
static String |
JCLOUDS_COMPUTE_ENDPOINT |
static String |
JCLOUDS_COMPUTE_IDENTITY |
static String |
JCLOUDS_COMPUTE_PROVIDER |
static String |
JCLOUDS_PASSWORD |
static String |
JCLOUDS_USER |
| Modifier and Type | Method and Description |
|---|---|
static String |
getBlobStoreApi(String api)
Returns the provider value and falls back to env if the specified value is null.
|
static String |
getBlobStoreCredential(String credential)
Returns the credential value and falls back to env if the specified value is null.
|
static String |
getBlobStoreEndpoint(String endpoint)
Returns the endpoint value and falls back to env if the specified value is null.
|
static String |
getBlobStoreIdentity(String identity)
Returns the provider value and falls back to env if the specified value is null.
|
static String |
getBlobStoreProvider(String provider)
Returns the provider value and falls back to env if the specified value is null.
|
static String |
getComputeApi(String api)
Returns the provider value and falls back to env if the specified value is null.
|
static String |
getComputeCredential(String credential)
Returns the credential value and falls back to env if the specified value is null.
|
static String |
getComputeEndpoint(String endpoint)
Returns the endpoint value and falls back to env if the specified value is null.
|
static String |
getComputeIdentity(String identity)
Returns the provider value and falls back to env if the specified value is null.
|
static String |
getComputeProvider(String provider)
Returns the provider value and falls back to env if the specified value is null.
|
static String |
getPassword(String password)
Returns the password value and falls back to env if the specified value is null.
|
static String |
getUser(String user)
Returns the user value and falls back to env if the specified value is null.
|
public static final String JCLOUDS_COMPUTE_PROVIDER
public static final String JCLOUDS_COMPUTE_API
public static final String JCLOUDS_COMPUTE_IDENTITY
public static final String JCLOUDS_COMPUTE_CREDENTIAL
public static final String JCLOUDS_COMPUTE_ENDPOINT
public static final String JCLOUDS_BLOBSTORE_PROVIDER
public static final String JCLOUDS_BLOBSTORE_API
public static final String JCLOUDS_BLOBSTORE_IDENTITY
public static final String JCLOUDS_BLOBSTORE_CREDENTIAL
public static final String JCLOUDS_BLOBSTORE_ENDPOINT
public static final String JCLOUDS_USER
public static final String JCLOUDS_PASSWORD
public static String getComputeProvider(String provider)
provider - public static String getComputeApi(String api)
api - public static String getComputeIdentity(String identity)
identity - public static String getComputeCredential(String credential)
credential - public static String getComputeEndpoint(String endpoint)
endpoint - public static String getBlobStoreProvider(String provider)
provider - public static String getBlobStoreApi(String api)
api - public static String getBlobStoreIdentity(String identity)
identity - public static String getBlobStoreCredential(String credential)
credential - public static String getBlobStoreEndpoint(String endpoint)
endpoint - public static String getUser(String user)
user - Copyright © 2013. All Rights Reserved.