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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricActivityStatisticsQuery
finishedAfter(Date date)
Only select historic activities of process instances that were finished after the given date.HistoricActivityStatisticsQuery
finishedBefore(Date date)
Only select historic activities of process instances that were finished before the given date.HistoricActivityStatisticsQuery
includeCanceled()
Include an aggregation of canceled instances in the result.HistoricActivityStatisticsQuery
includeCompleteScope()
Include an aggregation of instances, which complete a scope (ie.HistoricActivityStatisticsQuery
includeFinished()
Include an aggregation of finished instances in the result.HistoricActivityStatisticsQuery
includeIncidents()
Include an aggregation of the incidents in the result.HistoricActivityStatisticsQuery
orderByActivityId()
Order by activity id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricActivityStatisticsQuery
processInstanceIdIn(String... processInstanceIds)
Only select historic activities of process instances with the given IDsHistoricActivityStatisticsQuery
startedAfter(Date date)
Only select historic activities of process instances that were started after the given date.HistoricActivityStatisticsQuery
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 Detail
-
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
HistoricActivityStatisticsQuery startedBefore(Date date)
Only select historic activities of process instances that were started before the given date.
-
startedAfter
HistoricActivityStatisticsQuery startedAfter(Date date)
Only select historic activities of process instances that were started after the given date.
-
finishedBefore
HistoricActivityStatisticsQuery finishedBefore(Date date)
Only select historic activities of process instances that were finished before the given date.
-
finishedAfter
HistoricActivityStatisticsQuery finishedAfter(Date date)
Only select historic activities of process instances that were finished after the given date.
-
processInstanceIdIn
HistoricActivityStatisticsQuery processInstanceIdIn(String... processInstanceIds)
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()
).
-
-