org.camunda.bpm.engine.query
Interface Report

All Known Subinterfaces:
HistoricProcessInstanceReport
All Known Implementing Classes:
AbstractReport, HistoricProcessInstanceReportImpl

public interface Report

Describes basic methods for creating a report.

Since:
7.5
Author:
Roman Smirnov

Method Summary
 List<DurationReportResult> duration(PeriodUnit periodUnit)
          Executes the duration report query and returns a list of DurationReportResults.
 

Method Detail

duration

List<DurationReportResult> duration(PeriodUnit periodUnit)

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 - A period unit to define the granularity of the report.
Returns:
a list of DurationReportResults
Throws:
AuthorizationException - If the user has no Permissions.READ_HISTORY permission on any Resources.PROCESS_DEFINITION.
NotValidException - When the given period unit is null.


Copyright © 2016 camunda services GmbH. All rights reserved.