@Component @Path(value="/restore") public class RestoreResource extends Object
| Constructor and Description |
|---|
RestoreResource(RestoreManager restorationManager) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
get(String restorationId) |
javax.ws.rs.core.Response |
getBySnapshot(String snapshotId) |
javax.ws.rs.core.Response |
restoreComplete(String restorationId) |
javax.ws.rs.core.Response |
restoreSnapshot(org.duracloud.snapshot.dto.bridge.CreateRestoreBridgeParameters params) |
@Autowired public RestoreResource(RestoreManager restorationManager)
@PUT @Produces(value="application/json") @Consumes(value="application/json") public javax.ws.rs.core.Response restoreSnapshot(org.duracloud.snapshot.dto.bridge.CreateRestoreBridgeParameters params)
@Path(value="{restorationId}")
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response get(@PathParam(value="restorationId")
String restorationId)
@Path(value="by-snapshot/{snapshotId}")
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response getBySnapshot(@PathParam(value="snapshotId")
String snapshotId)
@Path(value="{restorationId}/complete")
@POST
@Produces(value="application/json")
public javax.ws.rs.core.Response restoreComplete(@PathParam(value="restorationId")
String restorationId)
Copyright © 2014–2015 DuraSpace. All rights reserved.