org.jclouds.rest
Class RestContextSpec<S,A>

java.lang.Object
  extended by org.jclouds.rest.RestContextSpec<S,A>
Direct Known Subclasses:
StandaloneComputeServiceContextSpec

public class RestContextSpec<S,A>
extends Object

Author:
Adrian Cole

Field Summary
protected  String apiVersion
           
protected  Class<A> async
           
protected  Class<RestContextBuilder<S,A>> contextBuilderClass
           
protected  String credential
           
protected  String endpoint
           
protected  String identity
           
protected  String iso3166Codes
           
protected  Iterable<com.google.inject.Module> modules
           
protected  Class<PropertiesBuilder> propertiesBuilderClass
           
protected  String provider
           
protected  Class<S> sync
           
 
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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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.