Package org.camunda.bpm.engine.impl
Class HistoricProcessInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.HistoricProcessInstanceReportImpl
- All Implemented Interfaces:
HistoricProcessInstanceReport
,Report
public class HistoricProcessInstanceReportImpl
extends Object
implements HistoricProcessInstanceReport
- Author:
- Roman Smirnov
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommandExecutor
protected PeriodUnit
protected String[]
protected String[]
protected Date
protected Date
protected TenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doAuthCheck
(CommandContext commandContext) duration
(PeriodUnit periodUnit) Executes the duration report query and returns a list ofDurationReportResult
s.executeDurationReport
(CommandContext commandContext) String[]
String[]
processDefinitionIdIn
(String... processDefinitionIds) Only takes historic process instances into account for the given process definition ids.processDefinitionKeyIn
(String... processDefinitionKeys) Only takes historic process instances into account for the given process definition keys.startedAfter
(Date startedAfter) Only takes historic process instances into account that were started after the given date.startedBefore
(Date startedBefore) Only takes historic process instances into account that were started before the given date.
-
Field Details
-
startedAfter
-
startedBefore
-
processDefinitionIdIn
-
processDefinitionKeyIn
-
durationPeriodUnit
-
commandExecutor
-
tenantCheck
-
-
Constructor Details
-
HistoricProcessInstanceReportImpl
-
-
Method Details
-
startedAfter
Description copied from interface:HistoricProcessInstanceReport
Only takes historic process instances into account that were started after the given date.- Specified by:
startedAfter
in interfaceHistoricProcessInstanceReport
-
startedBefore
Description copied from interface:HistoricProcessInstanceReport
Only takes historic process instances into account that were started before the given date.- Specified by:
startedBefore
in interfaceHistoricProcessInstanceReport
-
processDefinitionIdIn
Description copied from interface:HistoricProcessInstanceReport
Only takes historic process instances into account for the given process definition ids.- Specified by:
processDefinitionIdIn
in interfaceHistoricProcessInstanceReport
-
processDefinitionKeyIn
Description copied from interface:HistoricProcessInstanceReport
Only takes historic process instances into account for the given process definition keys.- Specified by:
processDefinitionKeyIn
in interfaceHistoricProcessInstanceReport
-
duration
Description copied from interface:Report
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.
- Specified by:
duration
in interfaceReport
- Parameters:
periodUnit
- Aperiod unit
to define the granularity of the report.- Returns:
- a list of
DurationReportResult
s
-
executeDurationReport
-
doAuthCheck
-
getStartedAfter
-
getStartedBefore
-
getProcessDefinitionIdIn
-
getProcessDefinitionKeyIn
-
getTenantCheck
-
getReportPeriodUnitName
-