public interface SnapshotApi
Modifier and Type | Method and Description |
---|---|
Snapshot |
createSnapshot(Snapshot.Request.CreatePayload payload) |
boolean |
deleteSnapshot(String id) |
List<Snapshot> |
getAllSnapshots() |
Snapshot |
getSnapshot(String identifier) |
String |
rollbackSnapshot(Snapshot.Request.RollbackPayload payload) |
String |
updateSnapshot(Snapshot.Request.UpdatePayload payload) |
@Named(value="snapshot:create") Snapshot createSnapshot(Snapshot.Request.CreatePayload payload)
@Named(value="snapshot:update") String updateSnapshot(Snapshot.Request.UpdatePayload payload)
@Named(value="snapshot:delete") boolean deleteSnapshot(String id)
@Named(value="snapshot:rollback") String rollbackSnapshot(Snapshot.Request.RollbackPayload payload)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.