@Component public class StorageReportRest extends BaseRest
APP_NAME, APPLICATION_XML, headers, request, TEXT_PLAIN, uriInfo, XML
Constructor and Description |
---|
StorageReportRest(StorageReportResource resource) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
cancelStorageReport()
Cancels a running storage report.
|
javax.ws.rs.core.Response |
cancelStorageReportSchedule()
Cancels the storage report schedule.
|
javax.ws.rs.core.Response |
getLatestStorageReport()
Retrieves the latest completed storage report.
|
javax.ws.rs.core.Response |
getStorageReport(String reportId)
Retrieves a storage report.
|
javax.ws.rs.core.Response |
getStorageReportInfo()
Retrieves information about storage reporting activities.
|
javax.ws.rs.core.Response |
getStorageReportList()
Retrieves the list of storage report IDs.
|
javax.ws.rs.core.Response |
scheduleStorageReport(long startTime,
long frequency)
Sets up a schedule of storage reports to be run, based on a starting
time and the frequency at which the report should be run afterward.
|
javax.ws.rs.core.Response |
startStorageReport()
Indicates that a new storage report should be started.
|
responseBad, responseBad, responseBad, responseBadRequest, responseNotFound, responseNotFound, responseOk, responseOk, responseOkStream, responseOkXml, responseOkXmlStream
@Autowired public StorageReportRest(StorageReportResource resource)
public javax.ws.rs.core.Response getLatestStorageReport()
public javax.ws.rs.core.Response getStorageReportList()
public javax.ws.rs.core.Response getStorageReport(String reportId)
public javax.ws.rs.core.Response getStorageReportInfo()
public javax.ws.rs.core.Response startStorageReport()
public javax.ws.rs.core.Response cancelStorageReport()
public javax.ws.rs.core.Response scheduleStorageReport(long startTime, long frequency)
public javax.ws.rs.core.Response cancelStorageReportSchedule()
Copyright © 2009–2014 DuraSpace. All rights reserved.