|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.HistoricProcessInstanceReportImpl
public class HistoricProcessInstanceReportImpl
| Field Summary | |
|---|---|
protected CommandExecutor |
commandExecutor
|
protected PeriodUnit |
durationPeriodUnit
|
protected String[] |
processDefinitionIdIn
|
protected String[] |
processDefinitionKeyIn
|
protected Date |
startedAfter
|
protected Date |
startedBefore
|
protected TenantCheck |
tenantCheck
|
| Constructor Summary | |
|---|---|
HistoricProcessInstanceReportImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Date startedAfter
protected Date startedBefore
protected String[] processDefinitionIdIn
protected String[] processDefinitionKeyIn
protected PeriodUnit durationPeriodUnit
protected CommandExecutor commandExecutor
protected TenantCheck tenantCheck
| Constructor Detail |
|---|
public HistoricProcessInstanceReportImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public HistoricProcessInstanceReport startedAfter(Date startedAfter)
HistoricProcessInstanceReport
startedAfter in interface HistoricProcessInstanceReportpublic HistoricProcessInstanceReport startedBefore(Date startedBefore)
HistoricProcessInstanceReport
startedBefore in interface HistoricProcessInstanceReportpublic HistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
HistoricProcessInstanceReport
processDefinitionIdIn in interface HistoricProcessInstanceReportpublic HistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
HistoricProcessInstanceReport
processDefinitionKeyIn 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||