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
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandExecutorprotected Dateprotected Dateprotected PeriodUnitprotected TenantCheck -
Constructor Summary
Constructors -
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 ofHistoricTaskInstanceReportResultsExecutes the task report query and returns a list ofHistoricTaskInstanceReportResultsduration(PeriodUnit periodUnit) Executes the duration report query and returns a list ofDurationReportResults.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:HistoricTaskInstanceReportExecutes the task report query and returns a list of
HistoricTaskInstanceReportResults- Specified by:
countByProcessDefinitionKeyin interfaceHistoricTaskInstanceReport- Returns:
- a list of
HistoricTaskInstanceReportResults
-
executeCountByProcessDefinitionKey
protected List<HistoricTaskInstanceReportResult> executeCountByProcessDefinitionKey(CommandContext commandContext) -
countByTaskName
Description copied from interface:HistoricTaskInstanceReportExecutes the task report query and returns a list of
HistoricTaskInstanceReportResults- Specified by:
countByTaskNamein interfaceHistoricTaskInstanceReport- Returns:
- a list of
HistoricTaskInstanceReportResults
-
executeCountByTaskName
protected List<HistoricTaskInstanceReportResult> executeCountByTaskName(CommandContext commandContext) -
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
-
executeDuration
-
getCompletedAfter
-
getCompletedBefore
-
completedAfter
Description copied from interface:HistoricTaskInstanceReportSets the completed after date for constraining the query to search for all tasks which are completed after a certain date.
- Specified by:
completedAfterin interfaceHistoricTaskInstanceReport- Parameters:
completedAfter- ADateto define the granularity of the report
-
completedBefore
Description copied from interface:HistoricTaskInstanceReportSets the completed before date for constraining the query to search for all tasks which are completed before a certain date.
- Specified by:
completedBeforein interfaceHistoricTaskInstanceReport- Parameters:
completedBefore- ADateto define the granularity of the report
-
getTenantCheck
-
getReportPeriodUnitName
-