public class HistoricJobLogQueryImpl extends AbstractQuery<HistoricJobLogQuery,HistoricJobLog> implements HistoricJobLogQuery
AbstractQuery.ResultType
Modifier and Type | Field and Description |
---|---|
protected String[] |
activityIds |
protected String |
deploymentId |
protected String[] |
executionIds |
protected String |
id |
protected boolean |
isTenantIdSet |
protected String |
jobDefinitionConfiguration |
protected String |
jobDefinitionId |
protected String |
jobDefinitionType |
protected String |
jobExceptionMessage |
protected String |
jobId |
protected Long |
jobPriorityHigherThanOrEqual |
protected Long |
jobPriorityLowerThanOrEqual |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected JobState |
state |
protected String[] |
tenantIds |
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
HistoricJobLogQueryImpl() |
HistoricJobLogQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
HistoricJobLogQuery |
activityIdIn(String... activityIds)
Only select historic job log entries which are associated with one of the given activity ids.
|
HistoricJobLogQuery |
creationLog()
Only select created historic job log entries.
|
HistoricJobLogQuery |
deletionLog()
Only select deleted historic job log entries.
|
HistoricJobLogQuery |
deploymentId(String deploymentId)
Only select historic job log entries with the deployment id.
|
long |
executeCount(CommandContext commandContext) |
List<HistoricJobLog> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricJobLogQuery |
executionIdIn(String... executionIds)
Only select historic job log entries which are associated with one of the given execution ids.
|
HistoricJobLogQuery |
failureLog()
Only select failed historic job log entries.
|
String[] |
getActivityIds() |
String |
getDeploymentId() |
String[] |
getExecutionIds() |
String |
getJobDefinitionConfiguration() |
String |
getJobDefinitionId() |
String |
getJobDefinitionType() |
String |
getJobExceptionMessage() |
String |
getJobId() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessInstanceId() |
JobState |
getState() |
String[] |
getTenantIds() |
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions.
|
boolean |
isTenantIdSet() |
HistoricJobLogQuery |
jobDefinitionConfiguration(String jobDefinitionConfiguration)
Only select historic job log entries with the given job definition configuration type.
|
HistoricJobLogQuery |
jobDefinitionId(String jobDefinitionId)
Only select historic job log entries with the given job definition id.
|
HistoricJobLogQuery |
jobDefinitionType(String jobDefinitionType)
Only select historic job log entries with the given job definition type.
|
HistoricJobLogQuery |
jobExceptionMessage(String jobExceptionMessage)
Only select historic job log entries with the given exception message.
|
HistoricJobLogQuery |
jobId(String jobId)
Only select historic job log entries with the given job id.
|
HistoricJobLogQuery |
jobPriorityHigherThanOrEquals(long priority)
Only select log entries where the job had a priority higher than or
equal to the given priority.
|
HistoricJobLogQuery |
jobPriorityLowerThanOrEquals(long priority)
Only select log entries where the job had a priority lower than or
equal to the given priority.
|
HistoricJobLogQuery |
logId(String historicJobLogId)
Only select historic job log entries with the id.
|
HistoricJobLogQuery |
orderByActivityId()
Order by activity id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByDeploymentId()
Order by deployment id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByJobDefinitionId()
Order by job definition id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByJobDueDate()
Order by job due date (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByJobId()
Order by job id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByJobPriority()
Order by job priority (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByJobRetries()
Order by job retries (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderByTimestamp()
Order by timestamp (needs to be followed by
Query.asc() or Query.desc() ). |
HistoricJobLogQuery |
orderPartiallyByOccurrence()
Sort the
historic job logs in the order in which
they occurred and needs to be followed by Query.asc() or Query.desc() . |
HistoricJobLogQuery |
processDefinitionId(String processDefinitionId)
Only select historic job log entries with the process definition id.
|
HistoricJobLogQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic job log entries with the process instance key.
|
HistoricJobLogQuery |
processInstanceId(String processInstanceId)
Only select historic job log entries with the process instance id.
|
protected void |
setState(JobState state) |
HistoricJobLogQuery |
successLog()
Only select historic job logs which belongs to a
successful executed job. |
HistoricJobLogQuery |
tenantIdIn(String... tenantIds)
Only select historic job log entries that belong to one of the given tenant ids.
|
HistoricJobLogQuery |
withoutTenantId()
Only selects historic job log entries that have no tenant id.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
protected String id
protected String jobId
protected String jobExceptionMessage
protected String jobDefinitionId
protected String jobDefinitionType
protected String jobDefinitionConfiguration
protected String[] activityIds
protected String[] executionIds
protected String processInstanceId
protected String processDefinitionId
protected String processDefinitionKey
protected String deploymentId
protected JobState state
protected Long jobPriorityHigherThanOrEqual
protected Long jobPriorityLowerThanOrEqual
protected String[] tenantIds
protected boolean isTenantIdSet
public HistoricJobLogQueryImpl()
public HistoricJobLogQueryImpl(CommandExecutor commandExecutor)
public HistoricJobLogQuery logId(String historicJobLogId)
HistoricJobLogQuery
logId
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobId(String jobId)
HistoricJobLogQuery
jobId
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobExceptionMessage(String jobExceptionMessage)
HistoricJobLogQuery
jobExceptionMessage
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobDefinitionId(String jobDefinitionId)
HistoricJobLogQuery
jobDefinitionId
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobDefinitionType(String jobDefinitionType)
HistoricJobLogQuery
jobDefinitionType
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobDefinitionConfiguration(String jobDefinitionConfiguration)
HistoricJobLogQuery
jobDefinitionConfiguration
in interface HistoricJobLogQuery
public HistoricJobLogQuery activityIdIn(String... activityIds)
HistoricJobLogQuery
activityIdIn
in interface HistoricJobLogQuery
public HistoricJobLogQuery executionIdIn(String... executionIds)
HistoricJobLogQuery
executionIdIn
in interface HistoricJobLogQuery
public HistoricJobLogQuery processInstanceId(String processInstanceId)
HistoricJobLogQuery
processInstanceId
in interface HistoricJobLogQuery
public HistoricJobLogQuery processDefinitionId(String processDefinitionId)
HistoricJobLogQuery
processDefinitionId
in interface HistoricJobLogQuery
public HistoricJobLogQuery processDefinitionKey(String processDefinitionKey)
HistoricJobLogQuery
processDefinitionKey
in interface HistoricJobLogQuery
public HistoricJobLogQuery deploymentId(String deploymentId)
HistoricJobLogQuery
deploymentId
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobPriorityHigherThanOrEquals(long priority)
HistoricJobLogQuery
jobPriorityHigherThanOrEquals
in interface HistoricJobLogQuery
public HistoricJobLogQuery jobPriorityLowerThanOrEquals(long priority)
HistoricJobLogQuery
jobPriorityLowerThanOrEquals
in interface HistoricJobLogQuery
public HistoricJobLogQuery tenantIdIn(String... tenantIds)
HistoricJobLogQuery
tenantIdIn
in interface HistoricJobLogQuery
public HistoricJobLogQuery withoutTenantId()
HistoricJobLogQuery
withoutTenantId
in interface HistoricJobLogQuery
public HistoricJobLogQuery creationLog()
HistoricJobLogQuery
creationLog
in interface HistoricJobLogQuery
public HistoricJobLogQuery failureLog()
HistoricJobLogQuery
failureLog
in interface HistoricJobLogQuery
public HistoricJobLogQuery successLog()
HistoricJobLogQuery
successful
executed job.successLog
in interface HistoricJobLogQuery
public HistoricJobLogQuery deletionLog()
HistoricJobLogQuery
deletionLog
in interface HistoricJobLogQuery
protected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions
in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
true
if the query does have excluding conditions, false
otherwisepublic HistoricJobLogQuery orderByTimestamp()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByTimestamp
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByJobId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByJobId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByJobDueDate()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByJobDueDate
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByJobRetries()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByJobRetries
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByJobPriority()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByJobPriority
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByJobDefinitionId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByJobDefinitionId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByActivityId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByActivityId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByExecutionId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByExecutionId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByProcessInstanceId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByProcessDefinitionId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByProcessDefinitionKey()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionKey
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByDeploymentId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).orderByDeploymentId
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderPartiallyByOccurrence()
HistoricJobLogQuery
Sort the historic job logs
in the order in which
they occurred and needs to be followed by Query.asc()
or Query.desc()
.
The set of all historic job logs
is a partially ordered
set. Due to this fact historic job logs
with different
job ids
are incomparable. Only historic job logs
with the same job id
can
be totally ordered by using HistoricJobLogQuery.jobId(String)
and HistoricJobLogQuery.orderPartiallyByOccurrence()
which will return a result set ordered by its occurrence.
orderPartiallyByOccurrence
in interface HistoricJobLogQuery
public HistoricJobLogQuery orderByTenantId()
HistoricJobLogQuery
Query.asc()
or Query.desc()
).
Note that the ordering of job log entries without tenant id is database-specific.orderByTenantId
in interface HistoricJobLogQuery
public long executeCount(CommandContext commandContext)
executeCount
in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
public List<HistoricJobLog> executeList(CommandContext commandContext, Page page)
AbstractQuery
executeList
in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>
page
- used if the results must be paged. If null, no paging will be applied.public boolean isTenantIdSet()
public String getJobId()
public String getJobExceptionMessage()
public String getJobDefinitionId()
public String getJobDefinitionType()
public String getJobDefinitionConfiguration()
public String[] getActivityIds()
public String[] getExecutionIds()
public String getProcessInstanceId()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String getDeploymentId()
public JobState getState()
public String[] getTenantIds()
protected void setState(JobState state)
Copyright © 2019. All rights reserved.