org.dasein.cloud.aws.compute
Class AMICapabilities
java.lang.Object
org.dasein.cloud.AbstractCapabilities<AWSCloud>
org.dasein.cloud.aws.compute.AMICapabilities
- All Implemented Interfaces:
- org.dasein.cloud.Capabilities, org.dasein.cloud.compute.ImageCapabilities
public class AMICapabilities
- extends org.dasein.cloud.AbstractCapabilities<AWSCloud>
- implements org.dasein.cloud.compute.ImageCapabilities
Describes the capabilities of AWS with respect to Dasein image operations.
Created by Stas Maksimov: 09/03/2014 18:09
- Since:
- 2014.03
- Version:
- 2014.03 initial version
- Author:
- Stas Maksimov
| Fields inherited from interface org.dasein.cloud.Capabilities |
LIMIT_UNKNOWN, LIMIT_UNLIMITED |
| 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 |
AMICapabilities
public AMICapabilities(AWSCloud cloud)
canBundle
public boolean canBundle(@Nonnull
org.dasein.cloud.compute.VmState vmState)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
canBundle in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
canImage
public boolean canImage(@Nonnull
org.dasein.cloud.compute.VmState vmState)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
canImage in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
getProviderTermForImage
@Nonnull
public String getProviderTermForImage(@Nonnull
Locale locale,
@Nonnull
org.dasein.cloud.compute.ImageClass imageClass)
- Specified by:
getProviderTermForImage in interface org.dasein.cloud.compute.ImageCapabilities
getProviderTermForCustomImage
@Nonnull
public String getProviderTermForCustomImage(@Nonnull
Locale locale,
@Nonnull
org.dasein.cloud.compute.ImageClass imageClass)
- Specified by:
getProviderTermForCustomImage in interface org.dasein.cloud.compute.ImageCapabilities
identifyLocalBundlingRequirement
@Nonnull
public org.dasein.cloud.Requirement identifyLocalBundlingRequirement()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
identifyLocalBundlingRequirement in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listSupportedFormats
@Nonnull
public Iterable<org.dasein.cloud.compute.MachineImageFormat> listSupportedFormats()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listSupportedFormats in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listSupportedFormatsForBundling
@Nonnull
public Iterable<org.dasein.cloud.compute.MachineImageFormat> listSupportedFormatsForBundling()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listSupportedFormatsForBundling in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listSupportedImageClasses
@Nonnull
public Iterable<org.dasein.cloud.compute.ImageClass> listSupportedImageClasses()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listSupportedImageClasses in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listSupportedImageTypes
@Nonnull
public Iterable<org.dasein.cloud.compute.MachineImageType> listSupportedImageTypes()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
listSupportedImageTypes in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
supportsDirectImageUpload
public boolean supportsDirectImageUpload()
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Specified by:
supportsDirectImageUpload in interface org.dasein.cloud.compute.ImageCapabilities
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
supportsImageCapture
public boolean supportsImageCapture(@Nonnull
org.dasein.cloud.compute.MachineImageType machineImageType)
- Specified by:
supportsImageCapture in interface org.dasein.cloud.compute.ImageCapabilities
supportsImageSharing
public boolean supportsImageSharing()
- Specified by:
supportsImageSharing in interface org.dasein.cloud.compute.ImageCapabilities
supportsImageSharingWithPublic
public boolean supportsImageSharingWithPublic()
- Specified by:
supportsImageSharingWithPublic in interface org.dasein.cloud.compute.ImageCapabilities
supportsPublicLibrary
public boolean supportsPublicLibrary(@Nonnull
org.dasein.cloud.compute.ImageClass imageClass)
- Specified by:
supportsPublicLibrary in interface org.dasein.cloud.compute.ImageCapabilities
Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.