Package org.camunda.bpm.engine.runtime
Interface IncidentQuery
- All Superinterfaces:
Query<IncidentQuery,
Incident>
- All Known Implementing Classes:
IncidentQueryImpl
- Author:
- roman.smirnov
-
Method Summary
Modifier and TypeMethodDescriptionactivityId
(String activityId) Only select incidents which contain an activity with the given id.causeIncidentId
(String causeIncidentId) Only select incidents which contain the id of the cause incident.configuration
(String configuration) Only select incidents which contain the configuration.executionId
(String executionId) Only select incidents with the given id.failedActivityId
(String activityId) Only select incidents which were created due to a failure at an activity with the given id.incidentId
(String incidentId) Only select incidents which have the given id.incidentMessage
(String incidentMessage) Only select incidents which have the given incident message.incidentMessageLike
(String incidentMessageLike) Only select incidents which incident message is like the given value.incidentTimestampAfter
(Date incidentTimestampAfter) Only select incidents which have an incidentTimestamp date after the given dateincidentTimestampBefore
(Date incidentTimestampBefore) Only select incidents which have an incidentTimestamp date before the given dateincidentType
(String incidentType) Only select incidents which have the given incident type.jobDefinitionIdIn
(String... jobDefinitionIds) Only select incidents that belong to one of the given job definition ids.Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by causeIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by configuration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by incident message (needs to be followed byQuery.asc()
orQuery.desc()
).Order by incidentTimestamp (needs to be followed byQuery.asc()
orQuery.desc()
).Order by incidentType (needs to be followed byQuery.asc()
orQuery.desc()
).Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by rootCauseIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionId
(String processDefinitionId) Only select incidents which have the given process definition id.processDefinitionKeyIn
(String... processDefinitionKeys) Only select incidents which have one of the given process definition keys.processInstanceId
(String processInstanceId) Only select incidents which have the given process instance id.rootCauseIncidentId
(String rootCauseIncidentId) Only select incidents which contain the id of the root cause incident.tenantIdIn
(String... tenantIds) Only select incidents that belong to one of the given tenant ids.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
incidentId
Only select incidents which have the given id. -
incidentType
Only select incidents which have the given incident type. -
incidentMessage
Only select incidents which have the given incident message. -
incidentMessageLike
Only select incidents which incident message is like the given value.- Parameters:
incidentMessageLike
- The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processDefinitionId
Only select incidents which have the given process definition id. -
processDefinitionKeyIn
Only select incidents which have one of the given process definition keys. -
processInstanceId
Only select incidents which have the given process instance id. -
executionId
Only select incidents with the given id. -
incidentTimestampBefore
Only select incidents which have an incidentTimestamp date before the given date -
incidentTimestampAfter
Only select incidents which have an incidentTimestamp date after the given date -
activityId
Only select incidents which contain an activity with the given id. -
failedActivityId
Only select incidents which were created due to a failure at an activity with the given id. -
causeIncidentId
Only select incidents which contain the id of the cause incident. -
rootCauseIncidentId
Only select incidents which contain the id of the root cause incident. -
configuration
Only select incidents which contain the configuration. -
tenantIdIn
Only select incidents that belong to one of the given tenant ids. -
jobDefinitionIdIn
Only select incidents that belong to one of the given job definition ids. -
orderByIncidentId
IncidentQuery orderByIncidentId()Order by id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByIncidentTimestamp
IncidentQuery orderByIncidentTimestamp()Order by incidentTimestamp (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByIncidentMessage
IncidentQuery orderByIncidentMessage()Order by incident message (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByIncidentType
IncidentQuery orderByIncidentType()Order by incidentType (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByExecutionId
IncidentQuery orderByExecutionId()Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityId
IncidentQuery orderByActivityId()Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessInstanceId
IncidentQuery orderByProcessInstanceId()Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionId
IncidentQuery orderByProcessDefinitionId()Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByCauseIncidentId
IncidentQuery orderByCauseIncidentId()Order by causeIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByRootCauseIncidentId
IncidentQuery orderByRootCauseIncidentId()Order by rootCauseIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByConfiguration
IncidentQuery orderByConfiguration()Order by configuration (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
IncidentQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of incidents without tenant id is database-specific.
-