public class ServiceReportManagerImpl extends BaseReportManager implements ServiceReportManager
restHelper
Constructor and Description |
---|
ServiceReportManagerImpl(String host,
String port) |
ServiceReportManagerImpl(String host,
String port,
String context) |
Modifier and Type | Method and Description |
---|---|
List<org.duracloud.serviceconfig.ServiceSummary> |
getCompletedServicesReport()
Retrieves a listing of completed services up to the default
limit (currently 20).
|
List<org.duracloud.serviceconfig.ServiceSummary> |
getCompletedServicesReport(int limit)
Retrieves a listing of completed services, including as many services
as have completed up to the provided limit.
|
List<org.duracloud.serviceconfig.ServiceSummary> |
getCompletedServicesReport(String reportId)
Retrieves a specific service report by ID.
|
List<String> |
getCompletedServicesReportList()
Retrieves the list of all service report files which have been created.
|
List<org.duracloud.serviceconfig.ServiceSummary> |
getDeployedServicesReport()
Retrieves a listing of services which are currently deployed in
DuraCloud.
|
checkResponse, getBaseURL, getRestHelper, login, logout, setRestHelper
public List<org.duracloud.serviceconfig.ServiceSummary> getDeployedServicesReport() throws ReportException
ServiceReportManager
getDeployedServicesReport
in interface ServiceReportManager
ReportException
public List<org.duracloud.serviceconfig.ServiceSummary> getCompletedServicesReport() throws ReportException
ServiceReportManager
getCompletedServicesReport
in interface ServiceReportManager
ReportException
public List<org.duracloud.serviceconfig.ServiceSummary> getCompletedServicesReport(int limit) throws ReportException
ServiceReportManager
getCompletedServicesReport
in interface ServiceReportManager
limit
- the maximum number of services to be included in the listReportException
public List<String> getCompletedServicesReportList() throws ReportException
ServiceReportManager
getCompletedServicesReportList
in interface ServiceReportManager
ReportException
public List<org.duracloud.serviceconfig.ServiceSummary> getCompletedServicesReport(String reportId) throws NotFoundException, ReportException
ServiceReportManager
getCompletedServicesReport
in interface ServiceReportManager
NotFoundException
ReportException
Copyright © 2009-2013 DuraSpace. All Rights Reserved.