|
||||||||||
| 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,
com.google.common.base.Supplier<Credentials> creds,
Utils utils,
Closer closer)
|
| Method Summary | |
|---|---|
void |
close()
Closes all connections, including executor service |
boolean |
equals(Object obj)
|
String |
getDescription()
Description of the location |
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,
com.google.common.base.Supplier<Credentials> creds,
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 Utils getUtils()
getUtils in interface Contextpublic Utils utils()
utils in interface ContextContext.getUtils()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 Location
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||