public class ContextImpl extends Object implements Context
| Modifier | Constructor and Description |
|---|---|
protected |
ContextImpl(String name,
ProviderMetadata providerMetadata,
String identity,
Utils utils,
Closer closer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all connections, including executor service
|
Map<String,Credentials> |
credentialStore()
will be removed in jclouds 1.6
|
boolean |
equals(Object obj) |
String |
getApiVersion()
will be removed in jclouds 1.6
|
String |
getBuildVersion()
will be removed in jclouds 1.6
|
Map<String,Credentials> |
getCredentialStore()
will be removed in jclouds 1.6
|
String |
getDescription()
Description of the location
|
URI |
getEndpoint()
will be removed in jclouds 1.6
|
String |
getId()
Unique ID provided by the provider (us-standard, miami, etc)
|
String |
getIdentity() |
Set<String> |
getIso3166Codes() |
Map<String,Object> |
getMetadata() |
String |
getName()
Identifies the Context.
|
Location |
getParent()
The parent, or null, if top-level
|
ProviderMetadata |
getProviderMetadata() |
LocationScope |
getScope()
Scope of the location, ex.
|
Utils |
getUtils() |
int |
hashCode() |
String |
toString() |
Utils |
utils() |
@Inject protected ContextImpl(String name, ProviderMetadata providerMetadata, String identity, Utils utils, Closer closer)
public void close()
public ProviderMetadata getProviderMetadata()
getProviderMetadata in interface ContextContextBuilder.newBuilder(org.jclouds.providers.ProviderMetadata)public String getName()
public String getIdentity()
getIdentity in interface ContextApiMetadata.getDefaultIdentity()public URI getEndpoint()
getEndpoint in interface ContextContext.getProviderMetadata(),
ProviderMetadata.getEndpoint()public Utils utils()
utils in interface ContextContext.getUtils()public String getApiVersion()
getApiVersion in interface ContextContext.getProviderMetadata(),
ProviderMetadata.getApiMetadata(),
ApiMetadata.getVersion()public String getBuildVersion()
getBuildVersion in interface ContextContext.getProviderMetadata(),
ProviderMetadata.getApiMetadata(),
ApiMetadata.getBuildVersion()public String getDescription()
getDescription in interface Locationpublic String getId()
public Set<String> getIso3166Codes()
getIso3166Codes in interface Locationpublic Map<String,Object> getMetadata()
getMetadata in interface Locationpublic Location getParent()
public LocationScope getScope()
public Map<String,Credentials> credentialStore()
credentialStore in interface ContextUtils.credentialStore()public Map<String,Credentials> getCredentialStore()
getCredentialStore in interface ContextUtils.getCredentialStore()Copyright © 2009-2013 jclouds. All Rights Reserved.