Package org.camunda.bpm.engine.history
Interface HistoricActivityStatisticsQuery
- All Superinterfaces:
Query<HistoricActivityStatisticsQuery,
HistoricActivityStatistics>
- All Known Implementing Classes:
HistoricActivityStatisticsQueryImpl
public interface HistoricActivityStatisticsQuery
extends Query<HistoricActivityStatisticsQuery,HistoricActivityStatistics>
- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptionfinishedAfter
(Date date) Only select historic activities of process instances that were finished after the given date.finishedBefore
(Date date) Only select historic activities of process instances that were finished before the given date.Include an aggregation of canceled instances in the result.Include an aggregation of instances, which complete a scope (ie.Include an aggregation of finished instances in the result.Include an aggregation of the incidents in the result.Order by activity id (needs to be followed byQuery.asc()
orQuery.desc()
).processInstanceIdIn
(String... processInstanceIds) Only select historic activities of process instances with the given IDsstartedAfter
(Date date) Only select historic activities of process instances that were started after the given date.startedBefore
(Date date) Only select historic activities of process instances that were started before the given date.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
includeFinished
HistoricActivityStatisticsQuery includeFinished()Include an aggregation of finished instances in the result. -
includeCanceled
HistoricActivityStatisticsQuery includeCanceled()Include an aggregation of canceled instances in the result. -
includeCompleteScope
HistoricActivityStatisticsQuery includeCompleteScope()Include an aggregation of instances, which complete a scope (ie. in bpmn manner: an activity which consumed a token and did not produced a new one), in the result. -
includeIncidents
HistoricActivityStatisticsQuery includeIncidents()Include an aggregation of the incidents in the result. -
startedBefore
Only select historic activities of process instances that were started before the given date. -
startedAfter
Only select historic activities of process instances that were started after the given date. -
finishedBefore
Only select historic activities of process instances that were finished before the given date. -
finishedAfter
Only select historic activities of process instances that were finished after the given date. -
processInstanceIdIn
Only select historic activities of process instances with the given IDs -
orderByActivityId
HistoricActivityStatisticsQuery orderByActivityId()Order by activity id (needs to be followed byQuery.asc()
orQuery.desc()
).
-