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
Nested ClassesModifier and TypeClassDescriptionprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandExecutorprotected PeriodUnitprotected String[]protected String[]protected Dateprotected Dateprotected TenantCheck -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoAuthCheck(CommandContext commandContext) duration(PeriodUnit periodUnit) Executes the duration report query and returns a list ofDurationReportResults.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:HistoricProcessInstanceReportOnly takes historic process instances into account that were started after the given date.- Specified by:
startedAfterin interfaceHistoricProcessInstanceReport
-
startedBefore
Description copied from interface:HistoricProcessInstanceReportOnly takes historic process instances into account that were started before the given date.- Specified by:
startedBeforein interfaceHistoricProcessInstanceReport
-
processDefinitionIdIn
Description copied from interface:HistoricProcessInstanceReportOnly takes historic process instances into account for the given process definition ids.- Specified by:
processDefinitionIdInin interfaceHistoricProcessInstanceReport
-
processDefinitionKeyIn
Description copied from interface:HistoricProcessInstanceReportOnly takes historic process instances into account for the given process definition keys.- Specified by:
processDefinitionKeyInin interfaceHistoricProcessInstanceReport
-
duration
Description copied from interface:ReportExecutes the duration report query and returns a list of
DurationReportResults.Be aware that the resulting report must be interpreted by the caller itself.
- Specified by:
durationin interfaceReport- Parameters:
periodUnit- Aperiod unitto define the granularity of the report.- Returns:
- a list of
DurationReportResults
-
executeDurationReport
-
doAuthCheck
-
getStartedAfter
-
getStartedBefore
-
getProcessDefinitionIdIn
-
getProcessDefinitionKeyIn
-
getTenantCheck
-
getReportPeriodUnitName
-