|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.internal.ContextImpl
public class ContextImpl
| Constructor Summary | |
|---|---|
protected |
ContextImpl(String name,
ProviderMetadata providerMetadata,
String identity,
Utils utils,
Closer closer)
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
protected ContextImpl(String name,
ProviderMetadata providerMetadata,
String identity,
Utils utils,
Closer closer)
| Method Detail |
|---|
public void close()
close in interface Closeableclose in interface Contextpublic ProviderMetadata getProviderMetadata()
getProviderMetadata in interface ContextContextBuilder.newBuilder(org.jclouds.providers.ProviderMetadata)public String getName()
getName in interface Contextpublic String getIdentity()
getIdentity in interface ContextApiMetadata.getDefaultIdentity()public URI getEndpoint()
getEndpoint in interface ContextContext.getProviderMetadata(),
ProviderMetadata.getEndpoint()public Utils getUtils()
getUtils in interface Contextpublic 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 int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic String getDescription()
getDescription in interface Locationpublic String getId()
getId in interface Locationpublic Set<String> getIso3166Codes()
getIso3166Codes in interface Locationpublic Map<String,Object> getMetadata()
getMetadata in interface Locationpublic Location getParent()
getParent in interface Locationpublic LocationScope getScope()
getScope in interface Locationpublic Map<String,Credentials> credentialStore()
credentialStore in interface ContextUtils.credentialStore()public Map<String,Credentials> getCredentialStore()
getCredentialStore in interface ContextUtils.getCredentialStore()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||