org.dasein.cloud.cloudstack.compute
Class Snapshots

java.lang.Object
  extended by org.dasein.cloud.compute.AbstractSnapshotSupport
      extended by org.dasein.cloud.cloudstack.compute.Snapshots
All Implemented Interfaces:
AccessControlledService, SnapshotSupport

public class Snapshots
extends AbstractSnapshotSupport


Field Summary
 
Fields inherited from interface org.dasein.cloud.compute.SnapshotSupport
ANY, GET_SNAPSHOT, LIST_SNAPSHOT, MAKE_PUBLIC, REMOVE_SNAPSHOT, SHARE_SNAPSHOT
 
Method Summary
 String createSnapshot(SnapshotCreateOptions options)
           
 String getProviderTermForSnapshot(Locale locale)
           
 Requirement identifyAttachmentRequirement()
           
 boolean isPublic(String snapshotId)
           
 boolean isSubscribed()
           
 Iterable<Snapshot> listSnapshots()
           
 Iterable<ResourceStatus> listSnapshotStatus()
           
 void remove(String snapshotId)
           
 boolean supportsSnapshotCreation()
           
 
Methods inherited from class org.dasein.cloud.compute.AbstractSnapshotSupport
addPublicShare, addSnapshotShare, create, getContext, getProvider, getSnapshot, listShares, listSnapshots, mapServiceAction, removeAllSnapshotShares, removePublicShare, removeSnapshotShare, removeTags, removeTags, searchSnapshots, searchSnapshots, shareSnapshot, snapshot, supportsSnapshotCopying, supportsSnapshotSharing, supportsSnapshotSharingWithPublic, toString, updateTags, updateTags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createSnapshot

@Nonnull
public String createSnapshot(@Nonnull
                                     SnapshotCreateOptions options)
                      throws InternalException,
                             CloudException
Specified by:
createSnapshot in interface SnapshotSupport
Overrides:
createSnapshot in class AbstractSnapshotSupport
Throws:
InternalException
CloudException

remove

public void remove(@Nonnull
                   String snapshotId)
            throws InternalException,
                   CloudException
Specified by:
remove in interface SnapshotSupport
Overrides:
remove in class AbstractSnapshotSupport
Throws:
InternalException
CloudException

getProviderTermForSnapshot

@Nonnull
public String getProviderTermForSnapshot(@Nonnull
                                                 Locale locale)

listSnapshotStatus

@Nonnull
public Iterable<ResourceStatus> listSnapshotStatus()
                                            throws InternalException,
                                                   CloudException
Specified by:
listSnapshotStatus in interface SnapshotSupport
Overrides:
listSnapshotStatus in class AbstractSnapshotSupport
Throws:
InternalException
CloudException

identifyAttachmentRequirement

@Nonnull
public Requirement identifyAttachmentRequirement()
                                          throws InternalException,
                                                 CloudException
Specified by:
identifyAttachmentRequirement in interface SnapshotSupport
Overrides:
identifyAttachmentRequirement in class AbstractSnapshotSupport
Throws:
InternalException
CloudException

isPublic

public boolean isPublic(@Nonnull
                        String snapshotId)
                 throws InternalException,
                        CloudException
Specified by:
isPublic in interface SnapshotSupport
Overrides:
isPublic in class AbstractSnapshotSupport
Throws:
InternalException
CloudException

listSnapshots

@Nonnull
public Iterable<Snapshot> listSnapshots()
                                 throws InternalException,
                                        CloudException
Throws:
InternalException
CloudException

supportsSnapshotCreation

public boolean supportsSnapshotCreation()
                                 throws CloudException,
                                        InternalException
Specified by:
supportsSnapshotCreation in interface SnapshotSupport
Overrides:
supportsSnapshotCreation in class AbstractSnapshotSupport
Throws:
CloudException
InternalException

isSubscribed

public boolean isSubscribed()
                     throws InternalException,
                            CloudException
Throws:
InternalException
CloudException


Copyright © 2013 enstratius, Inc.. All Rights Reserved.