org.dasein.cloud.vcloud.compute
Class TemplateCapabilities

java.lang.Object
  extended by org.dasein.cloud.AbstractCapabilities<vCloud>
      extended by org.dasein.cloud.vcloud.compute.TemplateCapabilities
All Implemented Interfaces:
Capabilities, ImageCapabilities

public class TemplateCapabilities
extends AbstractCapabilities<vCloud>
implements ImageCapabilities

Describes the capabilities of Dasein Cloud template support for vCloud.

Created by George Reese: 3/5/14 10:20 PM

Since:
2014.03
Version:
2014.03
Author:
George Reese

Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
TemplateCapabilities(vCloud provider)
           
 
Method Summary
 boolean canBundle(VmState fromState)
           
 boolean canImage(VmState fromState)
           
 VisibleScope getImageVisibleScope()
           
 String getProviderTermForCustomImage(Locale locale, ImageClass imageClass)
           
 String getProviderTermForImage(Locale locale, ImageClass imageClass)
           
 Requirement identifyLocalBundlingRequirement()
           
 Iterable<MachineImageFormat> listSupportedFormats()
           
 Iterable<MachineImageFormat> listSupportedFormatsForBundling()
           
 Iterable<ImageClass> listSupportedImageClasses()
           
 Iterable<MachineImageType> listSupportedImageTypes()
           
 boolean supportsDirectImageUpload()
           
 boolean supportsImageCapture(MachineImageType type)
           
 boolean supportsImageSharing()
           
 boolean supportsImageSharingWithPublic()
           
 boolean supportsPublicLibrary(ImageClass imageClass)
           
 
Methods inherited from class org.dasein.cloud.AbstractCapabilities
getAccountNumber, getContext, getProvider, getRegionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dasein.cloud.Capabilities
getAccountNumber, getRegionId
 

Constructor Detail

TemplateCapabilities

public TemplateCapabilities(vCloud provider)
Method Detail

canBundle

public boolean canBundle(@Nonnull
                         VmState fromState)
                  throws CloudException,
                         InternalException
Specified by:
canBundle in interface ImageCapabilities
Throws:
CloudException
InternalException

canImage

public boolean canImage(@Nonnull
                        VmState fromState)
                 throws CloudException,
                        InternalException
Specified by:
canImage in interface ImageCapabilities
Throws:
CloudException
InternalException

getProviderTermForImage

@Nonnull
public String getProviderTermForImage(@Nonnull
                                              Locale locale,
                                              @Nonnull
                                              ImageClass imageClass)
Specified by:
getProviderTermForImage in interface ImageCapabilities

getProviderTermForCustomImage

@Nonnull
public String getProviderTermForCustomImage(@Nonnull
                                                    Locale locale,
                                                    @Nonnull
                                                    ImageClass imageClass)
Specified by:
getProviderTermForCustomImage in interface ImageCapabilities

getImageVisibleScope

@Nullable
public VisibleScope getImageVisibleScope()
Specified by:
getImageVisibleScope in interface ImageCapabilities

identifyLocalBundlingRequirement

@Nonnull
public Requirement identifyLocalBundlingRequirement()
                                             throws CloudException,
                                                    InternalException
Specified by:
identifyLocalBundlingRequirement in interface ImageCapabilities
Throws:
CloudException
InternalException

listSupportedFormats

@Nonnull
public Iterable<MachineImageFormat> listSupportedFormats()
                                                  throws CloudException,
                                                         InternalException
Specified by:
listSupportedFormats in interface ImageCapabilities
Throws:
CloudException
InternalException

listSupportedFormatsForBundling

@Nonnull
public Iterable<MachineImageFormat> listSupportedFormatsForBundling()
                                                             throws CloudException,
                                                                    InternalException
Specified by:
listSupportedFormatsForBundling in interface ImageCapabilities
Throws:
CloudException
InternalException

listSupportedImageClasses

@Nonnull
public Iterable<ImageClass> listSupportedImageClasses()
                                               throws CloudException,
                                                      InternalException
Specified by:
listSupportedImageClasses in interface ImageCapabilities
Throws:
CloudException
InternalException

listSupportedImageTypes

@Nonnull
public Iterable<MachineImageType> listSupportedImageTypes()
                                                   throws CloudException,
                                                          InternalException
Specified by:
listSupportedImageTypes in interface ImageCapabilities
Throws:
CloudException
InternalException

supportsDirectImageUpload

public boolean supportsDirectImageUpload()
                                  throws CloudException,
                                         InternalException
Specified by:
supportsDirectImageUpload in interface ImageCapabilities
Throws:
CloudException
InternalException

supportsImageCapture

public boolean supportsImageCapture(@Nonnull
                                    MachineImageType type)
                             throws CloudException,
                                    InternalException
Specified by:
supportsImageCapture in interface ImageCapabilities
Throws:
CloudException
InternalException

supportsImageSharing

public boolean supportsImageSharing()
                             throws CloudException,
                                    InternalException
Specified by:
supportsImageSharing in interface ImageCapabilities
Throws:
CloudException
InternalException

supportsImageSharingWithPublic

public boolean supportsImageSharingWithPublic()
                                       throws CloudException,
                                              InternalException
Specified by:
supportsImageSharingWithPublic in interface ImageCapabilities
Throws:
CloudException
InternalException

supportsPublicLibrary

public boolean supportsPublicLibrary(@Nonnull
                                     ImageClass imageClass)
                              throws CloudException,
                                     InternalException
Specified by:
supportsPublicLibrary in interface ImageCapabilities
Throws:
CloudException
InternalException


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