org.dasein.cloud.vcloud
Class vCloud

java.lang.Object
  extended by org.dasein.cloud.CloudProvider
      extended by org.dasein.cloud.AbstractCloud
          extended by org.dasein.cloud.vcloud.vCloud

public class vCloud
extends AbstractCloud

Bootstrapping class for interacting with vCloud Director through Dasein Cloud. This implementation is a complete re-architecture from scratch with options for backwards compatibility with the old jclouds-based implementation of Dasein Cloud for vCloud.

Since:
2013.04
Version:
2013.04 initial version
Author:
George Reese

Field Summary
static String ISO8601_PATTERN
           
 
Constructor Summary
vCloud()
           
 
Method Summary
static String escapeXml(String nonxml)
           
 String getCloudName()
           
 vCloudComputeServices getComputeServices()
           
 ContextRequirements getContextRequirements()
           
 VDCServices getDataCenterServices()
           
static org.apache.log4j.Logger getLogger(Class<?> cls)
           
 vCloudNetworkServices getNetworkServices()
           
 String getProviderName()
           
 String[] getVersionPreference()
           
 String getVMProductsResource()
           
static org.apache.log4j.Logger getWireLogger(Class<?> cls)
           
 boolean isCompat()
           
 boolean isInsecure()
           
static long parseTime(String time)
           
 String testContext()
           
 String toID(String url)
           
 String toString()
           
 
Methods inherited from class org.dasein.cloud.AbstractCloud
getAdminServices, getCIServices, getIdentityServices, getPlatformServices
 
Methods inherited from class org.dasein.cloud.CloudProvider
close, connect, connect, connect, findUniqueName, getComputeCloud, getContext, getStorageServices, hasAdminServices, hasCIServices, hasComputeServices, hasIdentityServices, hasNetworkServices, hasPlatformServices, hasStorageServices, hold, isConnected, matchesTags, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ISO8601_PATTERN

public static final String ISO8601_PATTERN
See Also:
Constant Field Values
Constructor Detail

vCloud

public vCloud()
Method Detail

getLogger

public static org.apache.log4j.Logger getLogger(Class<?> cls)

getWireLogger

public static org.apache.log4j.Logger getWireLogger(Class<?> cls)

escapeXml

public static String escapeXml(String nonxml)

getCloudName

@Nonnull
public String getCloudName()
Specified by:
getCloudName in class CloudProvider

getContextRequirements

@Nonnull
public ContextRequirements getContextRequirements()
Overrides:
getContextRequirements in class AbstractCloud

getComputeServices

@Nonnull
public vCloudComputeServices getComputeServices()
Overrides:
getComputeServices in class AbstractCloud

getDataCenterServices

@Nonnull
public VDCServices getDataCenterServices()
Specified by:
getDataCenterServices in class CloudProvider

getNetworkServices

@Nonnull
public vCloudNetworkServices getNetworkServices()
Overrides:
getNetworkServices in class AbstractCloud

getProviderName

@Nonnull
public String getProviderName()
Specified by:
getProviderName in class CloudProvider

getVersionPreference

@Nullable
public String[] getVersionPreference()

getVMProductsResource

@Nonnull
public String getVMProductsResource()

isCompat

public boolean isCompat()

isInsecure

public boolean isInsecure()

parseTime

@Nonnegative
public static long parseTime(@Nullable
                                         String time)
                      throws CloudException
Throws:
CloudException

testContext

public String testContext()
Overrides:
testContext in class CloudProvider

toID

@Nonnull
public String toID(@Nonnull
                           String url)

toString

@Nonnull
public String toString()
Overrides:
toString in class Object


Copyright © 2014 Dell, Inc.. All Rights Reserved.