Package org.camunda.bpm.engine.runtime
Interface IncidentQuery
-
- All Superinterfaces:
Query<IncidentQuery,Incident>
- All Known Implementing Classes:
IncidentQueryImpl
public interface IncidentQuery extends Query<IncidentQuery,Incident>
- Author:
- roman.smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncidentQuery
activityId(String activityId)
Only select incidents which contain an activity with the given id.IncidentQuery
causeIncidentId(String causeIncidentId)
Only select incidents which contain the id of the cause incident.IncidentQuery
configuration(String configuration)
Only select incidents which contain the configuration.IncidentQuery
executionId(String executionId)
Only select incidents with the given id.IncidentQuery
failedActivityId(String activityId)
Only select incidents which were created due to a failure at an activity with the given id.IncidentQuery
incidentId(String incidentId)
Only select incidents which have the given id.IncidentQuery
incidentMessage(String incidentMessage)
Only select incidents which have the given incident message.IncidentQuery
incidentMessageLike(String incidentMessageLike)
Only select incidents which incident message is like the given value.IncidentQuery
incidentTimestampAfter(Date incidentTimestampAfter)
Only select incidents which have an incidentTimestamp date after the given dateIncidentQuery
incidentTimestampBefore(Date incidentTimestampBefore)
Only select incidents which have an incidentTimestamp date before the given dateIncidentQuery
incidentType(String incidentType)
Only select incidents which have the given incident type.IncidentQuery
jobDefinitionIdIn(String... jobDefinitionIds)
Only select incidents that belong to one of the given job definition ids.IncidentQuery
orderByActivityId()
Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByConfiguration()
Order by configuration (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByExecutionId()
Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByIncidentId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByIncidentMessage()
Order by incident message (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByIncidentTimestamp()
Order by incidentTimestamp (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByIncidentType()
Order by incidentType (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).IncidentQuery
processDefinitionId(String processDefinitionId)
Only select incidents which have the given process definition id.IncidentQuery
processDefinitionKeyIn(String... processDefinitionKeys)
Only select incidents which have one of the given process definition keys.IncidentQuery
processInstanceId(String processInstanceId)
Only select incidents which have the given process instance id.IncidentQuery
rootCauseIncidentId(String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.IncidentQuery
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 Detail
-
incidentId
IncidentQuery incidentId(String incidentId)
Only select incidents which have the given id.
-
incidentType
IncidentQuery incidentType(String incidentType)
Only select incidents which have the given incident type.
-
incidentMessage
IncidentQuery incidentMessage(String incidentMessage)
Only select incidents which have the given incident message.
-
incidentMessageLike
IncidentQuery incidentMessageLike(String 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
IncidentQuery processDefinitionId(String processDefinitionId)
Only select incidents which have the given process definition id.
-
processDefinitionKeyIn
IncidentQuery processDefinitionKeyIn(String... processDefinitionKeys)
Only select incidents which have one of the given process definition keys.
-
processInstanceId
IncidentQuery processInstanceId(String processInstanceId)
Only select incidents which have the given process instance id.
-
executionId
IncidentQuery executionId(String executionId)
Only select incidents with the given id.
-
incidentTimestampBefore
IncidentQuery incidentTimestampBefore(Date incidentTimestampBefore)
Only select incidents which have an incidentTimestamp date before the given date
-
incidentTimestampAfter
IncidentQuery incidentTimestampAfter(Date incidentTimestampAfter)
Only select incidents which have an incidentTimestamp date after the given date
-
activityId
IncidentQuery activityId(String activityId)
Only select incidents which contain an activity with the given id.
-
failedActivityId
IncidentQuery failedActivityId(String activityId)
Only select incidents which were created due to a failure at an activity with the given id.
-
causeIncidentId
IncidentQuery causeIncidentId(String causeIncidentId)
Only select incidents which contain the id of the cause incident.
-
rootCauseIncidentId
IncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.
-
configuration
IncidentQuery configuration(String configuration)
Only select incidents which contain the configuration.
-
tenantIdIn
IncidentQuery tenantIdIn(String... tenantIds)
Only select incidents that belong to one of the given tenant ids.
-
jobDefinitionIdIn
IncidentQuery jobDefinitionIdIn(String... jobDefinitionIds)
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.
-
-