org.dasein.cloud.cloudstack.compute
Class Snapshots
java.lang.Object
org.dasein.cloud.compute.AbstractSnapshotSupport
org.dasein.cloud.cloudstack.compute.Snapshots
- All Implemented Interfaces:
- AccessControlledService, SnapshotSupport
public class Snapshots
- extends AbstractSnapshotSupport
| 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 |
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.