org.jclouds.rest
Class RestContextSpec<S,A>
java.lang.Object
org.jclouds.rest.RestContextSpec<S,A>
- Direct Known Subclasses:
- StandaloneComputeServiceContextSpec
public class RestContextSpec<S,A>
- extends Object
- Author:
- Adrian Cole
Constructor Summary |
RestContextSpec(String provider,
String endpoint,
String apiVersion,
String iso3166Codes,
String identity,
String credential,
Class<S> sync,
Class<A> async)
|
RestContextSpec(String provider,
String endpoint,
String apiVersion,
String iso3166Codes,
String identity,
String credential,
Class<S> sync,
Class<A> async,
Class<PropertiesBuilder> propertiesBuilderClass,
Class<RestContextBuilder<S,A>> contextBuilderClass,
Iterable<com.google.inject.Module> modules)
|
Method Summary |
boolean |
equals(Object that)
this uses the inefficient Objects implementation as the object count will be
relatively small and therefore efficiency is not a concern. |
int |
hashCode()
this uses the inefficient Objects implementation as the object count will be
relatively small and therefore efficiency is not a concern. |
String |
toString()
this uses the inefficient Objects implementation as the object count will be
relatively small and therefore efficiency is not a concern. |
provider
protected final String provider
endpoint
protected final String endpoint
apiVersion
protected final String apiVersion
iso3166Codes
protected final String iso3166Codes
identity
protected final String identity
credential
protected final String credential
sync
protected final Class<S> sync
async
protected final Class<A> async
propertiesBuilderClass
protected final Class<PropertiesBuilder> propertiesBuilderClass
contextBuilderClass
protected final Class<RestContextBuilder<S,A>> contextBuilderClass
modules
protected final Iterable<com.google.inject.Module> modules
RestContextSpec
public RestContextSpec(String provider,
String endpoint,
String apiVersion,
String iso3166Codes,
String identity,
String credential,
Class<S> sync,
Class<A> async,
Class<PropertiesBuilder> propertiesBuilderClass,
Class<RestContextBuilder<S,A>> contextBuilderClass,
Iterable<com.google.inject.Module> modules)
RestContextSpec
public RestContextSpec(String provider,
String endpoint,
String apiVersion,
String iso3166Codes,
String identity,
String credential,
Class<S> sync,
Class<A> async)
hashCode
public int hashCode()
- this uses the inefficient
Objects
implementation as the object count will be
relatively small and therefore efficiency is not a concern.
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object that)
- this uses the inefficient
Objects
implementation as the object count will be
relatively small and therefore efficiency is not a concern.
- Overrides:
equals
in class Object
toString
public String toString()
- this uses the inefficient
Objects
implementation as the object count will be
relatively small and therefore efficiency is not a concern.
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.