org.jclouds.cloudstack
Class CloudStackApiMetadata

java.lang.Object
  extended by org.jclouds.apis.internal.BaseApiMetadata
      extended by org.jclouds.rest.internal.BaseRestApiMetadata
          extended by org.jclouds.cloudstack.CloudStackApiMetadata
All Implemented Interfaces:
Serializable, org.jclouds.apis.ApiMetadata, org.jclouds.rest.RestApiMetadata

public class CloudStackApiMetadata
extends org.jclouds.rest.internal.BaseRestApiMetadata

Implementation of ApiMetadata for Citrix/Apache CloudStack api.

note

This class allows overriding of types S(client) and A (asyncClient), so that children can add additional methods not declared here, such as new features from AWS.

As this is a popular api, we also allow overrides for type C (context). This allows subtypes to add in new feature groups or extensions, not present in the base api. For example, you could make a subtype for context, that exposes admin operations.

Author:
Adrian Cole
See Also:
Serialized Form

Nested Class Summary
static class CloudStackApiMetadata.Builder
           
 
Field Summary
static com.google.common.reflect.TypeToken<org.jclouds.rest.RestContext<CloudStackClient,CloudStackAsyncClient>> CONTEXT_TOKEN
           
 
Fields inherited from class org.jclouds.rest.internal.BaseRestApiMetadata
api, asyncApi
 
Fields inherited from class org.jclouds.apis.internal.BaseApiMetadata
buildVersion, context, credentialName, defaultCredential, defaultEndpoint, defaultIdentity, defaultModules, defaultProperties, documentation, endpointName, id, identityName, name, version, views
 
Constructor Summary
  CloudStackApiMetadata()
           
protected CloudStackApiMetadata(CloudStackApiMetadata.Builder builder)
           
 
Method Summary
static Properties defaultProperties()
           
 CloudStackApiMetadata.Builder toBuilder()
           
 
Methods inherited from class org.jclouds.rest.internal.BaseRestApiMetadata
contextToken, getApi, getAsyncApi, string
 
Methods inherited from class org.jclouds.apis.internal.BaseApiMetadata
equals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.apis.ApiMetadata
getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews
 

Field Detail

CONTEXT_TOKEN

public static final com.google.common.reflect.TypeToken<org.jclouds.rest.RestContext<CloudStackClient,CloudStackAsyncClient>> CONTEXT_TOKEN
Constructor Detail

CloudStackApiMetadata

public CloudStackApiMetadata()

CloudStackApiMetadata

protected CloudStackApiMetadata(CloudStackApiMetadata.Builder builder)
Method Detail

toBuilder

public CloudStackApiMetadata.Builder toBuilder()
Specified by:
toBuilder in interface org.jclouds.apis.ApiMetadata
Overrides:
toBuilder in class org.jclouds.rest.internal.BaseRestApiMetadata

defaultProperties

public static Properties defaultProperties()


Copyright © 2009-2012 jclouds. All Rights Reserved.