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 BatchStatisticsQuery
active()
Only selects batches which are activeBatchStatisticsQuery
batchId(java.lang.String batchId)
Only select batch statistics for the given batch id.BatchStatisticsQuery
createdBy(java.lang.String userId)
Only selects batches that are started by the given user idBatchStatisticsQuery
orderById()
Returns batch statistics sorted by batch id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.BatchStatisticsQuery
orderByStartTime()
Returns batch statistics sorted by start time; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.BatchStatisticsQuery
orderByTenantId()
Returns batch statistics sorted by tenant id; must be followed by an invocation ofQuery.asc()
orQuery.desc()
.BatchStatisticsQuery
startedAfter(java.util.Date date)
Only select historic activity instances that were started after the given date.BatchStatisticsQuery
startedBefore(java.util.Date date)
Only select historic activity instances that were started before the given date.BatchStatisticsQuery
suspended()
Only selects batches which are suspendedBatchStatisticsQuery
tenantIdIn(java.lang.String... tenantIds)
Only selects batch statistics with one of the given tenant ids.BatchStatisticsQuery
type(java.lang.String type)
Only select batch statistics of the given type.BatchStatisticsQuery
withFailures()
Only selects batches with failed jobsBatchStatisticsQuery
withoutFailures()
Only selects batches without failed jobsBatchStatisticsQuery
withoutTenantId()
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(java.lang.String batchId)
Only select batch statistics for the given batch id.
-
type
BatchStatisticsQuery type(java.lang.String type)
Only select batch statistics of the given type.
-
tenantIdIn
BatchStatisticsQuery tenantIdIn(java.lang.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(java.lang.String userId)
Only selects batches that are started by the given user id
-
startedBefore
BatchStatisticsQuery startedBefore(java.util.Date date)
Only select historic activity instances that were started before the given date.
-
startedAfter
BatchStatisticsQuery startedAfter(java.util.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()
.
-
-