Package org.camunda.bpm.engine.impl
Class HistoricTaskInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.HistoricTaskInstanceReportImpl
- All Implemented Interfaces:
HistoricTaskInstanceReport
,Report
- Author:
- Stefan Hentschel.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
protected class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommandExecutor
protected Date
protected Date
protected PeriodUnit
protected TenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompletedAfter
(Date completedAfter) Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.completedBefore
(Date completedBefore) Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.Executes the task report query and returns a list ofHistoricTaskInstanceReportResult
sExecutes the task report query and returns a list ofHistoricTaskInstanceReportResult
sduration
(PeriodUnit periodUnit) Executes the duration report query and returns a list ofDurationReportResult
s.protected List<HistoricTaskInstanceReportResult>
executeCountByProcessDefinitionKey
(CommandContext commandContext) protected List<HistoricTaskInstanceReportResult>
executeCountByTaskName
(CommandContext commandContext) protected List<DurationReportResult>
executeDuration
(CommandContext commandContext)
-
Field Details
-
completedAfter
-
completedBefore
-
durationPeriodUnit
-
commandExecutor
-
tenantCheck
-
-
Constructor Details
-
HistoricTaskInstanceReportImpl
-
-
Method Details
-
countByProcessDefinitionKey
Description copied from interface:HistoricTaskInstanceReport
Executes the task report query and returns a list of
HistoricTaskInstanceReportResult
s- Specified by:
countByProcessDefinitionKey
in interfaceHistoricTaskInstanceReport
- Returns:
- a list of
HistoricTaskInstanceReportResult
s
-
executeCountByProcessDefinitionKey
protected List<HistoricTaskInstanceReportResult> executeCountByProcessDefinitionKey(CommandContext commandContext) -
countByTaskName
Description copied from interface:HistoricTaskInstanceReport
Executes the task report query and returns a list of
HistoricTaskInstanceReportResult
s- Specified by:
countByTaskName
in interfaceHistoricTaskInstanceReport
- Returns:
- a list of
HistoricTaskInstanceReportResult
s
-
executeCountByTaskName
protected List<HistoricTaskInstanceReportResult> executeCountByTaskName(CommandContext commandContext) -
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
-
executeDuration
-
getCompletedAfter
-
getCompletedBefore
-
completedAfter
Description copied from interface:HistoricTaskInstanceReport
Sets the completed after date for constraining the query to search for all tasks which are completed after a certain date.
- Specified by:
completedAfter
in interfaceHistoricTaskInstanceReport
- Parameters:
completedAfter
- ADate
to define the granularity of the report
-
completedBefore
Description copied from interface:HistoricTaskInstanceReport
Sets the completed before date for constraining the query to search for all tasks which are completed before a certain date.
- Specified by:
completedBefore
in interfaceHistoricTaskInstanceReport
- Parameters:
completedBefore
- ADate
to define the granularity of the report
-
getTenantCheck
-
getReportPeriodUnitName
-