public class HistoricProcessInstanceReportImpl extends Object implements HistoricProcessInstanceReport
| Modifier and Type | Class and Description |
|---|---|
protected class |
HistoricProcessInstanceReportImpl.ExecuteDurationReportCmd |
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected PeriodUnit |
durationPeriodUnit |
protected String[] |
processDefinitionIdIn |
protected String[] |
processDefinitionKeyIn |
protected Date |
startedAfter |
protected Date |
startedBefore |
protected TenantCheck |
tenantCheck |
| Constructor and Description |
|---|
HistoricProcessInstanceReportImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAuthCheck(CommandContext commandContext) |
List<DurationReportResult> |
duration(PeriodUnit periodUnit)
Executes the duration report query and returns a list of
DurationReportResults. |
List<DurationReportResult> |
executeDurationReport(CommandContext commandContext) |
String[] |
getProcessDefinitionIdIn() |
String[] |
getProcessDefinitionKeyIn() |
String |
getReportPeriodUnitName() |
Date |
getStartedAfter() |
Date |
getStartedBefore() |
TenantCheck |
getTenantCheck() |
HistoricProcessInstanceReport |
processDefinitionIdIn(String... processDefinitionIds)
Only takes historic process instances into account for the given process definition ids.
|
HistoricProcessInstanceReport |
processDefinitionKeyIn(String... processDefinitionKeys)
Only takes historic process instances into account for the given process definition keys.
|
HistoricProcessInstanceReport |
startedAfter(Date startedAfter)
Only takes historic process instances into account that were started after the given date.
|
HistoricProcessInstanceReport |
startedBefore(Date startedBefore)
Only takes historic process instances into account that were started before the given date.
|
protected Date startedAfter
protected Date startedBefore
protected String[] processDefinitionIdIn
protected String[] processDefinitionKeyIn
protected PeriodUnit durationPeriodUnit
protected CommandExecutor commandExecutor
protected TenantCheck tenantCheck
public HistoricProcessInstanceReportImpl(CommandExecutor commandExecutor)
public HistoricProcessInstanceReport startedAfter(Date startedAfter)
HistoricProcessInstanceReportstartedAfter in interface HistoricProcessInstanceReportpublic HistoricProcessInstanceReport startedBefore(Date startedBefore)
HistoricProcessInstanceReportstartedBefore in interface HistoricProcessInstanceReportpublic HistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
HistoricProcessInstanceReportprocessDefinitionIdIn in interface HistoricProcessInstanceReportpublic HistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
HistoricProcessInstanceReportprocessDefinitionKeyIn in interface HistoricProcessInstanceReportpublic 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.DurationReportResultspublic List<DurationReportResult> executeDurationReport(CommandContext commandContext)
protected void doAuthCheck(CommandContext commandContext)
public Date getStartedAfter()
public Date getStartedBefore()
public String[] getProcessDefinitionIdIn()
public String[] getProcessDefinitionKeyIn()
public TenantCheck getTenantCheck()
public String getReportPeriodUnitName()
Copyright © 2022. All rights reserved.