public class HistoricIncidentQueryImpl extends AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident> implements HistoricIncidentQuery
AbstractQuery.ResultType| Modifier and Type | Field and Description |
|---|---|
protected String |
activityId |
protected String |
causeIncidentId |
protected String |
configuration |
protected String |
executionId |
protected String |
failedActivityId |
protected String |
historyConfiguration |
protected String |
id |
protected String |
incidentMessage |
protected IncidentState |
incidentState |
protected String |
incidentType |
protected boolean |
isTenantIdSet |
protected String[] |
jobDefinitionIds |
protected String |
processDefinitionId |
protected String[] |
processDefinitionKeys |
protected String |
processInstanceId |
protected String |
rootCauseIncidentId |
protected String[] |
tenantIds |
queryVariableValues, variableNamesIgnoreCase, variableValuesIgnoreCasecommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
HistoricIncidentQueryImpl() |
HistoricIncidentQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
HistoricIncidentQuery |
activityId(String activityId)
Only select historic incidents which contain an activity with the given id.
|
HistoricIncidentQuery |
causeIncidentId(String causeIncidentId)
Only select historic incidents which contain the id of the cause incident.
|
HistoricIncidentQuery |
configuration(String configuration)
Only select incidents which contain the configuration.
|
HistoricIncidentQuery |
deleted()
Only select historic incidents which are deleted.
|
long |
executeCount(CommandContext commandContext) |
List<HistoricIncident> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricIncidentQuery |
executionId(String executionId)
Only select historic incidents with the given id.
|
HistoricIncidentQuery |
failedActivityId(String activityId)
Only select historic incidents which were created due to a failure at an activity with the given id.
|
String |
getActivityId() |
String |
getCauseIncidentId() |
String |
getConfiguration() |
String |
getExecutionId() |
String |
getFailedActivityId() |
String |
getHistoryConfiguration() |
String |
getId() |
String |
getIncidentMessage() |
IncidentState |
getIncidentState() |
String |
getIncidentType() |
String |
getProcessDefinitionId() |
String[] |
getProcessDefinitionKeys() |
String |
getProcessInstanceId() |
String |
getRootCauseIncidentId() |
HistoricIncidentQuery |
historyConfiguration(String historyConfiguration)
Only select incidents which contain the historyConfiguration.
|
HistoricIncidentQuery |
incidentId(String incidentId)
Only select historic incidents which have the given id.
|
HistoricIncidentQuery |
incidentMessage(String incidentMessage)
Only select historic incidents which have the given incident message.
|
HistoricIncidentQuery |
incidentType(String incidentType)
Only select historic incidents which have the given incident type.
|
boolean |
isTenantIdSet() |
HistoricIncidentQuery |
jobDefinitionIdIn(String... jobDefinitionIds)
Only select incidents that belong to one of the given job definition ids.
|
HistoricIncidentQuery |
open()
Only select historic incidents which are open.
|
HistoricIncidentQuery |
orderByActivityId()
Order by activityId (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByCauseIncidentId()
Order by causeIncidentId (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByConfiguration()
Order by configuration (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByCreateTime()
Order by create time (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByEndTime()
Order by end time (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByExecutionId()
Order by executionId (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByHistoryConfiguration()
Order by historyConfiguration (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByIncidentId()
Order by id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByIncidentMessage()
Order by message (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByIncidentState()
Order by incidentState (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByIncidentType()
Order by incidentType (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByProcessInstanceId()
Order by processInstanceId (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByRootCauseIncidentId()
Order by rootCauseIncidentId (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricIncidentQuery |
processDefinitionId(String processDefinitionId)
Only select historic incidents which have the given process definition id.
|
HistoricIncidentQuery |
processDefinitionKeyIn(String... processDefinitionKeys)
Only select historic incidents which have one of the given process definition keys.
|
HistoricIncidentQuery |
processInstanceId(String processInstanceId)
Only select historic incidents which have the given process instance id.
|
HistoricIncidentQuery |
resolved()
Only select historic incidents which are resolved.
|
HistoricIncidentQuery |
rootCauseIncidentId(String rootCauseIncidentId)
Only select historic incidents which contain the id of the root cause incident.
|
HistoricIncidentQuery |
tenantIdIn(String... tenantIds)
Only select historic incidents that belong to one of the given tenant ids.
|
HistoricIncidentQuery |
withoutTenantId()
Only selects historic incidents that have no tenant id.
|
addVariable, ensureVariablesInitialized, getQueryVariableValues, isVariableNamesIgnoreCase, isVariableValuesIgnoreCase, matchVariableNamesIgnoreCase, matchVariableValuesIgnoreCase, variableValueEquals, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEqualsaddExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListprotected String id
protected String incidentType
protected String incidentMessage
protected String executionId
protected String activityId
protected String failedActivityId
protected String processInstanceId
protected String processDefinitionId
protected String[] processDefinitionKeys
protected String causeIncidentId
protected String rootCauseIncidentId
protected String configuration
protected String historyConfiguration
protected IncidentState incidentState
protected String[] tenantIds
protected boolean isTenantIdSet
protected String[] jobDefinitionIds
public HistoricIncidentQueryImpl()
public HistoricIncidentQueryImpl(CommandExecutor commandExecutor)
public HistoricIncidentQuery incidentId(String incidentId)
HistoricIncidentQueryincidentId in interface HistoricIncidentQuerypublic HistoricIncidentQuery incidentType(String incidentType)
HistoricIncidentQueryincidentType in interface HistoricIncidentQuerypublic HistoricIncidentQuery incidentMessage(String incidentMessage)
HistoricIncidentQueryincidentMessage in interface HistoricIncidentQuerypublic HistoricIncidentQuery executionId(String executionId)
HistoricIncidentQueryexecutionId in interface HistoricIncidentQuerypublic HistoricIncidentQuery activityId(String activityId)
HistoricIncidentQueryactivityId in interface HistoricIncidentQuerypublic HistoricIncidentQuery failedActivityId(String activityId)
HistoricIncidentQueryfailedActivityId in interface HistoricIncidentQuerypublic HistoricIncidentQuery processInstanceId(String processInstanceId)
HistoricIncidentQueryprocessInstanceId in interface HistoricIncidentQuerypublic HistoricIncidentQuery processDefinitionId(String processDefinitionId)
HistoricIncidentQueryprocessDefinitionId in interface HistoricIncidentQuerypublic HistoricIncidentQuery processDefinitionKeyIn(String... processDefinitionKeys)
HistoricIncidentQueryprocessDefinitionKeyIn in interface HistoricIncidentQuerypublic HistoricIncidentQuery causeIncidentId(String causeIncidentId)
HistoricIncidentQuerycauseIncidentId in interface HistoricIncidentQuerypublic HistoricIncidentQuery rootCauseIncidentId(String rootCauseIncidentId)
HistoricIncidentQueryrootCauseIncidentId in interface HistoricIncidentQuerypublic HistoricIncidentQuery tenantIdIn(String... tenantIds)
HistoricIncidentQuerytenantIdIn in interface HistoricIncidentQuerypublic HistoricIncidentQuery withoutTenantId()
HistoricIncidentQuerywithoutTenantId in interface HistoricIncidentQuerypublic HistoricIncidentQuery configuration(String configuration)
HistoricIncidentQueryconfiguration in interface HistoricIncidentQuerypublic HistoricIncidentQuery historyConfiguration(String historyConfiguration)
HistoricIncidentQueryhistoryConfiguration in interface HistoricIncidentQuerypublic HistoricIncidentQuery jobDefinitionIdIn(String... jobDefinitionIds)
HistoricIncidentQueryjobDefinitionIdIn in interface HistoricIncidentQuerypublic HistoricIncidentQuery open()
HistoricIncidentQueryopen in interface HistoricIncidentQuerypublic HistoricIncidentQuery resolved()
HistoricIncidentQueryresolved in interface HistoricIncidentQuerypublic HistoricIncidentQuery deleted()
HistoricIncidentQuerydeleted in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByIncidentId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByIncidentId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByIncidentMessage()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByIncidentMessage in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByCreateTime()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByCreateTime in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByEndTime()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByEndTime in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByIncidentType()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByIncidentType in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByExecutionId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByExecutionId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByActivityId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByActivityId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByProcessInstanceId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByProcessDefinitionId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByCauseIncidentId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByCauseIncidentId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByRootCauseIncidentId()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByRootCauseIncidentId in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByConfiguration()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByConfiguration in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByHistoryConfiguration()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByHistoryConfiguration in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByIncidentState()
HistoricIncidentQueryQuery.asc() or Query.desc()).orderByIncidentState in interface HistoricIncidentQuerypublic HistoricIncidentQuery orderByTenantId()
HistoricIncidentQueryQuery.asc() or Query.desc()).
Note that the ordering of incidents without tenant id is database-specific.orderByTenantId in interface HistoricIncidentQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>public List<HistoricIncident> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractVariableQueryImpl<HistoricIncidentQuery,HistoricIncident>page - used if the results must be paged. If null, no paging will be applied.public String getId()
public String getIncidentType()
public String getIncidentMessage()
public String getExecutionId()
public String getActivityId()
public String getFailedActivityId()
public String getProcessInstanceId()
public String getProcessDefinitionId()
public String[] getProcessDefinitionKeys()
public String getCauseIncidentId()
public String getRootCauseIncidentId()
public String getConfiguration()
public String getHistoryConfiguration()
public IncidentState getIncidentState()
public boolean isTenantIdSet()
Copyright © 2021. All rights reserved.