org.dasein.cloud.vsphere.compute
Class TemplateCapabilities

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

public class TemplateCapabilities
extends AbstractCapabilities<PrivateCloud>
implements ImageCapabilities

Describes the capabilities of VSphere with respect to Dasein image operations. User: daniellemayne Date: 06/03/2014 Time: 12:34


Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
TemplateCapabilities(PrivateCloud provider)
           
 
Method Summary
 boolean canBundle(VmState fromState)
           
 boolean canImage(VmState fromState)
           
 String getProviderTermForCustomImage(Locale locale, ImageClass cls)
           
 String getProviderTermForImage(Locale locale, ImageClass cls)
           
 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 cls)
           
 
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(@Nonnull
                            PrivateCloud 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 cls)
Specified by:
getProviderTermForImage in interface ImageCapabilities

getProviderTermForCustomImage

@Nonnull
public String getProviderTermForCustomImage(@Nonnull
                                                    Locale locale,
                                                    @Nonnull
                                                    ImageClass cls)
Specified by:
getProviderTermForCustomImage 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 cls)
                              throws CloudException,
                                     InternalException
Specified by:
supportsPublicLibrary in interface ImageCapabilities
Throws:
CloudException
InternalException


Copyright © 2014 enStratus Networks Inc. All Rights Reserved.