org.dasein.cloud.vsphere.compute
Class Template
java.lang.Object
org.dasein.cloud.compute.AbstractImageSupport
org.dasein.cloud.vsphere.compute.Template
- All Implemented Interfaces:
- AccessControlledService, MachineImageSupport
public class Template
- extends AbstractImageSupport
| Methods inherited from class org.dasein.cloud.compute.AbstractImageSupport |
addImageShare, addPublicShare, bundleVirtualMachine, bundleVirtualMachineAsync, captureImage, captureImageAsync, getContext, getMachineImage, getProvider, getProviderTermForCustomImage, getProviderTermForImage, identifyLocalBundlingRequirement, imageVirtualMachine, listImages, listImages, listMachineImages, listMachineImagesOwnedBy, listShares, listSupportedFormats, listSupportedFormatsForBundling, listSupportedImageClasses, listSupportedImageTypes, matches, registerImageBundle, remove, removeAllImageShares, removeImageShare, removePublicShare, removeTags, removeTags, searchImages, searchPublicImages, shareMachineImage, supportsDirectImageUpload, supportsImageCapture, supportsImageSharing, supportsImageSharingWithPublic, supportsPublicLibrary, updateTags, updateTags |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
remove
public void remove(@Nonnull
String providerImageId,
boolean checkState)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
getCapabilities
public ImageCapabilities getCapabilities()
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
getImage
public MachineImage getImage(@Nonnull
String providerImageId)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
getProviderTermForImage
@Nonnull
public String getProviderTermForImage(@Nonnull
Locale locale,
@Nonnull
ImageClass cls)
mapServiceAction
@Nonnull
public String[] mapServiceAction(@Nonnull
ServiceAction action)
- Specified by:
mapServiceAction in interface AccessControlledService- Overrides:
mapServiceAction in class AbstractImageSupport
hasPublicLibrary
public boolean hasPublicLibrary()
- Specified by:
hasPublicLibrary in interface MachineImageSupport- Overrides:
hasPublicLibrary in class AbstractImageSupport
capture
protected MachineImage capture(@Nonnull
ImageCreateOptions options,
@Nullable
AsynchronousTask<MachineImage> task)
throws CloudException,
InternalException
- Overrides:
capture in class AbstractImageSupport
- Throws:
CloudException
InternalException
isImageSharedWithPublic
public boolean isImageSharedWithPublic(@Nonnull
String machineImageId)
throws CloudException,
InternalException
- Specified by:
isImageSharedWithPublic in interface MachineImageSupport- Overrides:
isImageSharedWithPublic in class AbstractImageSupport
- Throws:
CloudException
InternalException
isSubscribed
public boolean isSubscribed()
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
listImageStatus
@Nonnull
public Iterable<ResourceStatus> listImageStatus(@Nonnull
ImageClass cls)
throws CloudException,
InternalException
- Specified by:
listImageStatus in interface MachineImageSupport- Overrides:
listImageStatus in class AbstractImageSupport
- Throws:
CloudException
InternalException
listImages
@Nonnull
public Iterable<MachineImage> listImages(@Nullable
ImageFilterOptions options)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
searchMachineImages
@Nonnull
public Iterable<MachineImage> searchMachineImages(@Nullable
String keyword,
@Nullable
Platform platform,
@Nullable
Architecture architecture)
throws CloudException,
InternalException
- Specified by:
searchMachineImages in interface MachineImageSupport- Overrides:
searchMachineImages in class AbstractImageSupport
- Throws:
CloudException
InternalException
searchPublicImages
@Nonnull
public Iterable<MachineImage> searchPublicImages(@Nullable
String keyword,
@Nullable
Platform platform,
@Nullable
Architecture architecture,
@Nullable
ImageClass... imageClasses)
throws CloudException,
InternalException
- Specified by:
searchPublicImages in interface MachineImageSupport- Overrides:
searchPublicImages in class AbstractImageSupport
- Throws:
CloudException
InternalException
supportsCustomImages
public boolean supportsCustomImages()
- Specified by:
supportsCustomImages in interface MachineImageSupport- Overrides:
supportsCustomImages in class AbstractImageSupport
Copyright © 2014 enStratus Networks Inc. All Rights Reserved.