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(java.lang.String activityId)
Only select incidents which contain an activity with the given id.IncidentQuery
causeIncidentId(java.lang.String causeIncidentId)
Only select incidents which contain the id of the cause incident.IncidentQuery
configuration(java.lang.String configuration)
Only select incidents which contain the configuration.IncidentQuery
executionId(java.lang.String executionId)
Only select incidents with the given id.IncidentQuery
failedActivityId(java.lang.String activityId)
Only select incidents which were created due to a failure at an activity with the given id.IncidentQuery
incidentId(java.lang.String incidentId)
Only select incidents which have the given id.IncidentQuery
incidentMessage(java.lang.String incidentMessage)
Only select incidents which have the given incident message.IncidentQuery
incidentMessageLike(java.lang.String incidentMessageLike)
Only select incidents which incident message is like the given value.IncidentQuery
incidentTimestampAfter(java.util.Date incidentTimestampAfter)
Only select incidents which have an incidentTimestamp date after the given dateIncidentQuery
incidentTimestampBefore(java.util.Date incidentTimestampBefore)
Only select incidents which have an incidentTimestamp date before the given dateIncidentQuery
incidentType(java.lang.String incidentType)
Only select incidents which have the given incident type.IncidentQuery
jobDefinitionIdIn(java.lang.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(java.lang.String processDefinitionId)
Only select incidents which have the given process definition id.IncidentQuery
processDefinitionKeyIn(java.lang.String... processDefinitionKeys)
Only select incidents which have one of the given process definition keys.IncidentQuery
processInstanceId(java.lang.String processInstanceId)
Only select incidents which have the given process instance id.IncidentQuery
rootCauseIncidentId(java.lang.String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.IncidentQuery
tenantIdIn(java.lang.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(java.lang.String incidentId)
Only select incidents which have the given id.
-
incidentType
IncidentQuery incidentType(java.lang.String incidentType)
Only select incidents which have the given incident type.
-
incidentMessage
IncidentQuery incidentMessage(java.lang.String incidentMessage)
Only select incidents which have the given incident message.
-
incidentMessageLike
IncidentQuery incidentMessageLike(java.lang.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(java.lang.String processDefinitionId)
Only select incidents which have the given process definition id.
-
processDefinitionKeyIn
IncidentQuery processDefinitionKeyIn(java.lang.String... processDefinitionKeys)
Only select incidents which have one of the given process definition keys.
-
processInstanceId
IncidentQuery processInstanceId(java.lang.String processInstanceId)
Only select incidents which have the given process instance id.
-
executionId
IncidentQuery executionId(java.lang.String executionId)
Only select incidents with the given id.
-
incidentTimestampBefore
IncidentQuery incidentTimestampBefore(java.util.Date incidentTimestampBefore)
Only select incidents which have an incidentTimestamp date before the given date
-
incidentTimestampAfter
IncidentQuery incidentTimestampAfter(java.util.Date incidentTimestampAfter)
Only select incidents which have an incidentTimestamp date after the given date
-
activityId
IncidentQuery activityId(java.lang.String activityId)
Only select incidents which contain an activity with the given id.
-
failedActivityId
IncidentQuery failedActivityId(java.lang.String activityId)
Only select incidents which were created due to a failure at an activity with the given id.
-
causeIncidentId
IncidentQuery causeIncidentId(java.lang.String causeIncidentId)
Only select incidents which contain the id of the cause incident.
-
rootCauseIncidentId
IncidentQuery rootCauseIncidentId(java.lang.String rootCauseIncidentId)
Only select incidents which contain the id of the root cause incident.
-
configuration
IncidentQuery configuration(java.lang.String configuration)
Only select incidents which contain the configuration.
-
tenantIdIn
IncidentQuery tenantIdIn(java.lang.String... tenantIds)
Only select incidents that belong to one of the given tenant ids.
-
jobDefinitionIdIn
IncidentQuery jobDefinitionIdIn(java.lang.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.
-
-