Interface IncidentQuery

    • 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.
      • orderByTenantId

        IncidentQuery orderByTenantId()
        Order by tenant id (needs to be followed by Query.asc() or Query.desc()). Note that the ordering of incidents without tenant id is database-specific.