Package org.camunda.bpm.engine.batch
Interface BatchStatisticsQuery
-
- All Superinterfaces:
Query<BatchStatisticsQuery,BatchStatistics>
- All Known Implementing Classes:
BatchStatisticsQueryImpl
public interface BatchStatisticsQuery extends Query<BatchStatisticsQuery,BatchStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStatisticsQueryactive()Only selects batches which are activeBatchStatisticsQuerybatchId(String batchId)Only select batch statistics for the given batch id.BatchStatisticsQuerycreatedBy(String userId)Only selects batches that are started by the given user idBatchStatisticsQueryorderById()Returns batch statistics sorted by batch id; must be followed by an invocation ofQuery.asc()orQuery.desc().BatchStatisticsQueryorderByStartTime()Returns batch statistics sorted by start time; must be followed by an invocation ofQuery.asc()orQuery.desc().BatchStatisticsQueryorderByTenantId()Returns batch statistics sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().BatchStatisticsQuerystartedAfter(Date date)Only select historic activity instances that were started after the given date.BatchStatisticsQuerystartedBefore(Date date)Only select historic activity instances that were started before the given date.BatchStatisticsQuerysuspended()Only selects batches which are suspendedBatchStatisticsQuerytenantIdIn(String... tenantIds)Only selects batch statistics with one of the given tenant ids.BatchStatisticsQuerytype(String type)Only select batch statistics of the given type.BatchStatisticsQuerywithFailures()Only selects batches with failed jobsBatchStatisticsQuerywithoutFailures()Only selects batches without failed jobsBatchStatisticsQuerywithoutTenantId()Only selects batch statistics which have no tenant id.-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Method Detail
-
batchId
BatchStatisticsQuery batchId(String batchId)
Only select batch statistics for the given batch id.
-
type
BatchStatisticsQuery type(String type)
Only select batch statistics of the given type.
-
tenantIdIn
BatchStatisticsQuery tenantIdIn(String... tenantIds)
Only selects batch statistics with one of the given tenant ids.
-
withoutTenantId
BatchStatisticsQuery withoutTenantId()
Only selects batch statistics which have no tenant id.
-
active
BatchStatisticsQuery active()
Only selects batches which are active
-
suspended
BatchStatisticsQuery suspended()
Only selects batches which are suspended
-
createdBy
BatchStatisticsQuery createdBy(String userId)
Only selects batches that are started by the given user id
-
startedBefore
BatchStatisticsQuery startedBefore(Date date)
Only select historic activity instances that were started before the given date.
-
startedAfter
BatchStatisticsQuery startedAfter(Date date)
Only select historic activity instances that were started after the given date.
-
withFailures
BatchStatisticsQuery withFailures()
Only selects batches with failed jobs
-
withoutFailures
BatchStatisticsQuery withoutFailures()
Only selects batches without failed jobs
-
orderById
BatchStatisticsQuery orderById()
Returns batch statistics sorted by batch id; must be followed by an invocation ofQuery.asc()orQuery.desc().
-
orderByTenantId
BatchStatisticsQuery orderByTenantId()
Returns batch statistics sorted by tenant id; must be followed by an invocation ofQuery.asc()orQuery.desc().
-
orderByStartTime
BatchStatisticsQuery orderByStartTime()
Returns batch statistics sorted by start time; must be followed by an invocation ofQuery.asc()orQuery.desc().
-
-