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 HistoricActivityStatisticsQueryfinishedAfter(java.util.Date date)Only select historic activities of process instances that were finished after the given date.HistoricActivityStatisticsQueryfinishedBefore(java.util.Date date)Only select historic activities of process instances that were finished before the given date.HistoricActivityStatisticsQueryincludeCanceled()Include an aggregation of canceled instances in the result.HistoricActivityStatisticsQueryincludeCompleteScope()Include an aggregation of instances, which complete a scope (ie.HistoricActivityStatisticsQueryincludeFinished()Include an aggregation of finished instances in the result.HistoricActivityStatisticsQueryincludeIncidents()Include an aggregation of the incidents in the result.HistoricActivityStatisticsQueryorderByActivityId()Order by activity id (needs to be followed byQuery.asc()orQuery.desc()).HistoricActivityStatisticsQueryprocessInstanceIdIn(java.lang.String... processInstanceIds)Only select historic activities of process instances with the given IDsHistoricActivityStatisticsQuerystartedAfter(java.util.Date date)Only select historic activities of process instances that were started after the given date.HistoricActivityStatisticsQuerystartedBefore(java.util.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(java.util.Date date)
Only select historic activities of process instances that were started before the given date.
-
startedAfter
HistoricActivityStatisticsQuery startedAfter(java.util.Date date)
Only select historic activities of process instances that were started after the given date.
-
finishedBefore
HistoricActivityStatisticsQuery finishedBefore(java.util.Date date)
Only select historic activities of process instances that were finished before the given date.
-
finishedAfter
HistoricActivityStatisticsQuery finishedAfter(java.util.Date date)
Only select historic activities of process instances that were finished after the given date.
-
processInstanceIdIn
HistoricActivityStatisticsQuery processInstanceIdIn(java.lang.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()).
-
-