Class ReportApiImpl
java.lang.Object
com.xebialabs.xlrelease.reports.api.v1.impl.ReportApiImpl
- All Implemented Interfaces:
com.xebialabs.xlrelease.api.ApiService,com.xebialabs.xlrelease.api.v1.ReportApi
@Controller
public class ReportApiImpl
extends Object
implements com.xebialabs.xlrelease.api.v1.ReportApi
-
Field Summary
Fields inherited from interface com.xebialabs.xlrelease.api.ApiService
DEFAULT_RESULTS_PER_PAGE, DEFAULT_RESULTS_PER_PAGE_STRING, DEPTH, ORDER_BY, PAGE, PAGE_IS_OFFSET, RESULTS_PER_PAGE, ROLE_IDS_DATA -
Constructor Summary
ConstructorsConstructorDescriptionReportApiImpl(org.springframework.context.ApplicationContext applicationContext, com.xebialabs.xlrelease.service.FacetService facetService, com.xebialabs.xlrelease.service.ReleaseService releaseService, com.xebialabs.xlrelease.security.PermissionChecker permissions) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsedownloadReleaseReport(String reportType, String releaseId) List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord>getRecordsForRelease(String releaseId) List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord>getRecordsForTask(String taskId) byte[]getReleaseReport(String reportType, String releaseId) List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord>searchRecords(com.xebialabs.xlrelease.api.v1.forms.FacetFilters facetFilters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.xlrelease.api.v1.ReportApi
serviceName
-
Constructor Details
-
ReportApiImpl
@Autowired public ReportApiImpl(org.springframework.context.ApplicationContext applicationContext, com.xebialabs.xlrelease.service.FacetService facetService, com.xebialabs.xlrelease.service.ReleaseService releaseService, com.xebialabs.xlrelease.security.PermissionChecker permissions)
-
-
Method Details
-
getRecordsForRelease
public List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> getRecordsForRelease(String releaseId) - Specified by:
getRecordsForReleasein interfacecom.xebialabs.xlrelease.api.v1.ReportApi
-
getRecordsForTask
public List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> getRecordsForTask(String taskId) - Specified by:
getRecordsForTaskin interfacecom.xebialabs.xlrelease.api.v1.ReportApi
-
searchRecords
public List<com.xebialabs.xlrelease.domain.facet.TaskReportingRecord> searchRecords(com.xebialabs.xlrelease.api.v1.forms.FacetFilters facetFilters) - Specified by:
searchRecordsin interfacecom.xebialabs.xlrelease.api.v1.ReportApi
-
downloadReleaseReport
- Specified by:
downloadReleaseReportin interfacecom.xebialabs.xlrelease.api.v1.ReportApi
-
getReleaseReport
- Specified by:
getReleaseReportin interfacecom.xebialabs.xlrelease.api.v1.ReportApi- Throws:
IOException
-