org.dasein.cloud.google.capabilities
Class GCEImageCapabilities

java.lang.Object
  extended by org.dasein.cloud.AbstractCapabilities<Google>
      extended by org.dasein.cloud.google.capabilities.GCEImageCapabilities
All Implemented Interfaces:
org.dasein.cloud.Capabilities, org.dasein.cloud.compute.ImageCapabilities

public class GCEImageCapabilities
extends org.dasein.cloud.AbstractCapabilities<Google>
implements org.dasein.cloud.compute.ImageCapabilities


Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
GCEImageCapabilities(Google cloud)
           
 
Method Summary
 boolean canBundle(org.dasein.cloud.compute.VmState fromState)
           
 boolean canImage(org.dasein.cloud.compute.VmState fromState)
           
 org.dasein.cloud.VisibleScope getImageVisibleScope()
           
 String getProviderTermForCustomImage(Locale locale, org.dasein.cloud.compute.ImageClass cls)
           
 String getProviderTermForImage(Locale locale, org.dasein.cloud.compute.ImageClass cls)
           
 org.dasein.cloud.Requirement identifyLocalBundlingRequirement()
           
 Iterable<org.dasein.cloud.compute.MachineImageFormat> listSupportedFormats()
           
 Iterable<org.dasein.cloud.compute.MachineImageFormat> listSupportedFormatsForBundling()
           
 Iterable<org.dasein.cloud.compute.ImageClass> listSupportedImageClasses()
           
 Iterable<org.dasein.cloud.compute.MachineImageType> listSupportedImageTypes()
           
 boolean supportsDirectImageUpload()
           
 boolean supportsImageCapture(org.dasein.cloud.compute.MachineImageType type)
           
 boolean supportsImageSharing()
           
 boolean supportsImageSharingWithPublic()
           
 boolean supportsPublicLibrary(org.dasein.cloud.compute.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

GCEImageCapabilities

public GCEImageCapabilities(@Nonnull
                            Google cloud)
Method Detail

canBundle

public boolean canBundle(@Nonnull
                         org.dasein.cloud.compute.VmState fromState)
                  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 fromState)
                 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 cls)
Specified by:
getProviderTermForImage in interface org.dasein.cloud.compute.ImageCapabilities

getProviderTermForCustomImage

@Nonnull
public String getProviderTermForCustomImage(@Nonnull
                                                    Locale locale,
                                                    @Nonnull
                                                    org.dasein.cloud.compute.ImageClass cls)
Specified by:
getProviderTermForCustomImage in interface org.dasein.cloud.compute.ImageCapabilities

getImageVisibleScope

@Nullable
public org.dasein.cloud.VisibleScope getImageVisibleScope()
Specified by:
getImageVisibleScope 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 type)
                             throws org.dasein.cloud.CloudException,
                                    org.dasein.cloud.InternalException
Specified by:
supportsImageCapture in interface org.dasein.cloud.compute.ImageCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsImageSharing

public boolean supportsImageSharing()
                             throws org.dasein.cloud.CloudException,
                                    org.dasein.cloud.InternalException
Specified by:
supportsImageSharing in interface org.dasein.cloud.compute.ImageCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsImageSharingWithPublic

public boolean supportsImageSharingWithPublic()
                                       throws org.dasein.cloud.CloudException,
                                              org.dasein.cloud.InternalException
Specified by:
supportsImageSharingWithPublic in interface org.dasein.cloud.compute.ImageCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsPublicLibrary

public boolean supportsPublicLibrary(@Nonnull
                                     org.dasein.cloud.compute.ImageClass cls)
                              throws org.dasein.cloud.CloudException,
                                     org.dasein.cloud.InternalException
Specified by:
supportsPublicLibrary in interface org.dasein.cloud.compute.ImageCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2014 Dell, Inc. All Rights Reserved.