Package org.camunda.bpm.engine.history
Interface CleanableHistoricProcessInstanceReport
- All Superinterfaces:
Query<CleanableHistoricProcessInstanceReport,
CleanableHistoricProcessInstanceReportResult>
- All Known Implementing Classes:
CleanableHistoricProcessInstanceReportImpl
public interface CleanableHistoricProcessInstanceReport
extends Query<CleanableHistoricProcessInstanceReport,CleanableHistoricProcessInstanceReportResult>
Defines a report query for cleanable process instances.
-
Method Summary
Modifier and TypeMethodDescriptioncompact()
Only selects historic process instances which have more than zero finished instances.Order by finished process instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionIdIn
(String... processDefinitionIds) Only takes historic process instances into account for the given process definition ids.processDefinitionKeyIn
(String... processDefinitionKeys) Only takes historic process instances into account for the given process definition keys.tenantIdIn
(String... tenantIds) Only select historic process instances with one of the given tenant ids.Only selects historic process instances which have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
processDefinitionIdIn
Only takes historic process instances into account for the given process definition ids.- Throws:
NotValidException
- if one of the given ids is null
-
processDefinitionKeyIn
Only takes historic process instances into account for the given process definition keys.- Throws:
NotValidException
- if one of the given keys is null
-
tenantIdIn
Only select historic process instances with one of the given tenant ids.- Throws:
NotValidException
- if one of the given ids is null
-
withoutTenantId
CleanableHistoricProcessInstanceReport withoutTenantId()Only selects historic process instances which have no tenant id. -
compact
CleanableHistoricProcessInstanceReport compact()Only selects historic process instances which have more than zero finished instances. -
orderByFinished
CleanableHistoricProcessInstanceReport orderByFinished()Order by finished process instances amount (needs to be followed byQuery.asc()
orQuery.desc()
).
-