public class HistoricTaskInstanceReportImpl extends Object implements HistoricTaskInstanceReport
| Modifier and Type | Class and Description |
|---|---|
protected class |
HistoricTaskInstanceReportImpl.ExecuteDurationCmd |
protected class |
HistoricTaskInstanceReportImpl.HistoricTaskInstanceCountByNameCmd |
protected class |
HistoricTaskInstanceReportImpl.HistoricTaskInstanceCountByProcessDefinitionKey |
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected Date |
completedAfter |
protected Date |
completedBefore |
protected PeriodUnit |
durationPeriodUnit |
protected TenantCheck |
tenantCheck |
| Constructor and Description |
|---|
HistoricTaskInstanceReportImpl(CommandExecutor commandExecutor) |
protected Date completedAfter
protected Date completedBefore
protected PeriodUnit durationPeriodUnit
protected CommandExecutor commandExecutor
protected TenantCheck tenantCheck
public HistoricTaskInstanceReportImpl(CommandExecutor commandExecutor)
public List<HistoricTaskInstanceReportResult> countByProcessDefinitionKey()
HistoricTaskInstanceReportExecutes the task report query and returns a list of HistoricTaskInstanceReportResults
countByProcessDefinitionKey in interface HistoricTaskInstanceReportHistoricTaskInstanceReportResultsprotected List<HistoricTaskInstanceReportResult> executeCountByProcessDefinitionKey(CommandContext commandContext)
public List<HistoricTaskInstanceReportResult> countByTaskName()
HistoricTaskInstanceReportExecutes the task report query and returns a list of HistoricTaskInstanceReportResults
countByTaskName in interface HistoricTaskInstanceReportHistoricTaskInstanceReportResultsprotected List<HistoricTaskInstanceReportResult> executeCountByTaskName(CommandContext commandContext)
public List<DurationReportResult> duration(PeriodUnit periodUnit)
ReportExecutes the duration report query and returns a list of
DurationReportResults.
Be aware that the resulting report must be interpreted by the caller itself.
duration in interface ReportperiodUnit - A period unit to define
the granularity of the report.DurationReportResultsprotected List<DurationReportResult> executeDuration(CommandContext commandContext)
public Date getCompletedAfter()
public Date getCompletedBefore()
public HistoricTaskInstanceReport completedAfter(Date completedAfter)
HistoricTaskInstanceReportSets the completed after date for constraining the query to search for all tasks which are completed after a certain date.
completedAfter in interface HistoricTaskInstanceReportcompletedAfter - A Date to define the granularity of the reportpublic HistoricTaskInstanceReport completedBefore(Date completedBefore)
HistoricTaskInstanceReportSets the completed before date for constraining the query to search for all tasks which are completed before a certain date.
completedBefore in interface HistoricTaskInstanceReportcompletedBefore - A Date to define the granularity of the reportpublic TenantCheck getTenantCheck()
public String getReportPeriodUnitName()
Copyright © 2021. All rights reserved.