Interface SnapshotApi
-
@Consumes("text/xml") @Produces("text/xml") public interface SnapshotApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
createSnapshot
@POST @Named("snapshot:create") Snapshot createSnapshot(Snapshot.Request.CreatePayload payload)
-
updateSnapshot
@POST @Named("snapshot:update") String updateSnapshot(Snapshot.Request.UpdatePayload payload)
-
deleteSnapshot
@POST @Named("snapshot:delete") boolean deleteSnapshot(String id)
-
rollbackSnapshot
@POST @Named("snapshot:rollback") String rollbackSnapshot(Snapshot.Request.RollbackPayload payload)
-
-