org.camunda.bpm.engine.impl
Class HistoricProcessInstanceHistoricProcessInstanceReportImpl
java.lang.Object
org.camunda.bpm.engine.impl.AbstractHistoricProcessInstanceReport
org.camunda.bpm.engine.impl.HistoricProcessInstanceHistoricProcessInstanceReportImpl
- All Implemented Interfaces:
- Serializable, HistoricProcessInstanceReport, Command<Object>, Report
public class HistoricProcessInstanceHistoricProcessInstanceReportImpl
- extends AbstractHistoricProcessInstanceReport
- implements HistoricProcessInstanceReport
- Author:
- Roman Smirnov
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.query.Report |
duration |
startedAfter
protected Date startedAfter
startedBefore
protected Date startedBefore
processDefinitionIdIn
protected String[] processDefinitionIdIn
processDefinitionKeyIn
protected String[] processDefinitionKeyIn
HistoricProcessInstanceHistoricProcessInstanceReportImpl
public HistoricProcessInstanceHistoricProcessInstanceReportImpl(CommandExecutor commandExecutor)
startedAfter
public HistoricProcessInstanceReport startedAfter(Date startedAfter)
- Description copied from interface:
HistoricProcessInstanceReport
- Only takes historic process instances into account that were started after the given date.
- Specified by:
startedAfter in interface HistoricProcessInstanceReport
startedBefore
public HistoricProcessInstanceReport startedBefore(Date startedBefore)
- Description copied from interface:
HistoricProcessInstanceReport
- Only takes historic process instances into account that were started before the given date.
- Specified by:
startedBefore in interface HistoricProcessInstanceReport
processDefinitionIdIn
public HistoricProcessInstanceReport processDefinitionIdIn(String... processDefinitionIds)
- Description copied from interface:
HistoricProcessInstanceReport
- Only takes historic process instances into account for the given process definition ids.
- Specified by:
processDefinitionIdIn in interface HistoricProcessInstanceReport
processDefinitionKeyIn
public HistoricProcessInstanceReport processDefinitionKeyIn(String... processDefinitionKeys)
- Description copied from interface:
HistoricProcessInstanceReport
- Only takes historic process instances into account for the given process definition keys.
- Specified by:
processDefinitionKeyIn in interface HistoricProcessInstanceReport
hasExcludingConditions
protected boolean hasExcludingConditions()
- Description copied from class:
AbstractHistoricProcessInstanceReport
- Whether or not the report query has excluding conditions. If the query has excluding conditions,
(e.g. started before and after are excluding), the SQL query is avoided and a default result is
returned. The returned result is the same as if the SQL was executed and there were no entries.
- Overrides:
hasExcludingConditions in class AbstractHistoricProcessInstanceReport
- Returns:
true if the report query does have excluding conditions, false otherwise
executeDurationReport
public List<DurationReportResult> executeDurationReport(CommandContext commandContext)
- Specified by:
executeDurationReport in class AbstractHistoricProcessInstanceReport
getStartedAfter
public Date getStartedAfter()
getStartedBefore
public Date getStartedBefore()
getProcessDefinitionIdIn
public String[] getProcessDefinitionIdIn()
getProcessDefinitionKeyIn
public String[] getProcessDefinitionKeyIn()
Copyright © 2016 camunda services GmbH. All rights reserved.