Package org.camunda.bpm.engine.query
Interface Report
- All Known Subinterfaces:
HistoricProcessInstanceReport,HistoricTaskInstanceReport
- All Known Implementing Classes:
HistoricProcessInstanceReportImpl,HistoricTaskInstanceReportImpl
public interface Report
Describes basic methods for creating a report.
- Since:
- 7.5
- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptionduration(PeriodUnit periodUnit) Executes the duration report query and returns a list ofDurationReportResults.
-
Method Details
-
duration
Executes the duration report query and returns a list of
DurationReportResults.Be aware that the resulting report must be interpreted by the caller itself.
- Parameters:
periodUnit- Aperiod unitto define the granularity of the report.- Returns:
- a list of
DurationReportResults - Throws:
AuthorizationException- If the user has noPermissions.READ_HISTORYpermission on anyResources.PROCESS_DEFINITION.NotValidException- When the given period unit is null.
-