org.dasein.cloud.vsphere.compute
Class TemplateCapabilities
java.lang.Object
org.dasein.cloud.AbstractCapabilities<PrivateCloud>
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateCapabilities
public TemplateCapabilities(@Nonnull
PrivateCloud provider)
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.