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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<DurationReportResult>
duration(PeriodUnit periodUnit)
Executes the duration report query and returns a list ofDurationReportResult
s.
-
-
-
Method Detail
-
duration
java.util.List<DurationReportResult> duration(PeriodUnit periodUnit)
Executes the duration report query and returns a list of
DurationReportResult
s.Be aware that the resulting report must be interpreted by the caller itself.
- Parameters:
periodUnit
- Aperiod unit
to define the granularity of the report.- Returns:
- a list of
DurationReportResult
s - Throws:
AuthorizationException
- If the user has noPermissions.READ_HISTORY
permission on anyResources.PROCESS_DEFINITION
.NotValidException
- When the given period unit is null.
-
-