|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StorageReportManager
Allows for communication with DuraReport
Method Summary | |
---|---|
java.lang.String |
cancelStorageReport()
Cancels any currently running storage report. |
java.lang.String |
cancelStorageReportSchedule()
Cancels any existing storage report schedule. |
java.lang.String |
getBaseURL()
|
org.duracloud.reportdata.storage.StorageReport |
getLatestStorageReport()
Retrieves the latest completed storage report. |
org.duracloud.reportdata.storage.StorageReport |
getStorageReport(java.lang.String reportId)
Retrieves a storage report indicated by a report ID. |
org.duracloud.reportdata.storage.StorageReportInfo |
getStorageReportInfo()
Retrieves information about storage reporting activities. |
java.util.List<java.lang.String> |
getStorageReportList()
Retrieves the list of storage report IDs, ordered by report completion date. |
java.lang.String |
scheduleStorageReport(java.util.Date startTime,
long frequency)
Schedules a series of storage reports to run. |
java.lang.String |
startStorageReport()
Tells DuraReport to start running a new storage report generation process. |
Methods inherited from interface org.duracloud.common.model.Securable |
---|
login, logout |
Method Detail |
---|
java.lang.String getBaseURL()
org.duracloud.reportdata.storage.StorageReport getLatestStorageReport() throws NotFoundException, ReportException
NotFoundException
- if no reports are available
ReportException
java.util.List<java.lang.String> getStorageReportList() throws ReportException
ReportException
org.duracloud.reportdata.storage.StorageReport getStorageReport(java.lang.String reportId) throws NotFoundException, ReportException
reportId
-
NotFoundException
- if a storage report with that ID does not exist
ReportException
org.duracloud.reportdata.storage.StorageReportInfo getStorageReportInfo() throws ReportException
ReportException
java.lang.String startStorageReport() throws ReportException
ReportException
java.lang.String cancelStorageReport() throws ReportException
ReportException
java.lang.String scheduleStorageReport(java.util.Date startTime, long frequency) throws ReportException
startTime
- time to start the next storage reportfrequency
- time in milliseconds to wait between reports
ReportException
java.lang.String cancelStorageReportSchedule() throws ReportException
ReportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |