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[] |
failedActivityIds |
protected String |
hostname |
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, validatorsauthCheck, 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 |
failedActivityIdIn(String... activityIds)
Only select historic job log entries which are associated with failures of one of the given activity ids.
|
HistoricJobLogQuery |
failureLog()
Only select failed historic job log entries.
|
String[] |
getActivityIds() |
String |
getDeploymentId() |
String[] |
getExecutionIds() |
String[] |
getFailedActivityIds() |
String |
getHostname() |
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.
|
HistoricJobLogQuery |
hostname(String hostname)
Only selects historic job log entries that belong to the given host name.
|
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 |
orderByHostname()
Order by hostname (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, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, 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, unlimitedListisRetryableprotected String id
protected String jobId
protected String jobExceptionMessage
protected String jobDefinitionId
protected String jobDefinitionType
protected String jobDefinitionConfiguration
protected String[] activityIds
protected String[] failedActivityIds
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
protected String hostname
public HistoricJobLogQueryImpl()
public HistoricJobLogQueryImpl(CommandExecutor commandExecutor)
public HistoricJobLogQuery logId(String historicJobLogId)
HistoricJobLogQuerylogId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobId(String jobId)
HistoricJobLogQueryjobId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobExceptionMessage(String jobExceptionMessage)
HistoricJobLogQueryjobExceptionMessage in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobDefinitionId(String jobDefinitionId)
HistoricJobLogQueryjobDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobDefinitionType(String jobDefinitionType)
HistoricJobLogQueryjobDefinitionType in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobDefinitionConfiguration(String jobDefinitionConfiguration)
HistoricJobLogQueryjobDefinitionConfiguration in interface HistoricJobLogQuerypublic HistoricJobLogQuery activityIdIn(String... activityIds)
HistoricJobLogQueryactivityIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery failedActivityIdIn(String... activityIds)
HistoricJobLogQueryfailedActivityIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery executionIdIn(String... executionIds)
HistoricJobLogQueryexecutionIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery processInstanceId(String processInstanceId)
HistoricJobLogQueryprocessInstanceId in interface HistoricJobLogQuerypublic HistoricJobLogQuery processDefinitionId(String processDefinitionId)
HistoricJobLogQueryprocessDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery processDefinitionKey(String processDefinitionKey)
HistoricJobLogQueryprocessDefinitionKey in interface HistoricJobLogQuerypublic HistoricJobLogQuery deploymentId(String deploymentId)
HistoricJobLogQuerydeploymentId in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobPriorityHigherThanOrEquals(long priority)
HistoricJobLogQueryjobPriorityHigherThanOrEquals in interface HistoricJobLogQuerypublic HistoricJobLogQuery jobPriorityLowerThanOrEquals(long priority)
HistoricJobLogQueryjobPriorityLowerThanOrEquals in interface HistoricJobLogQuerypublic HistoricJobLogQuery tenantIdIn(String... tenantIds)
HistoricJobLogQuerytenantIdIn in interface HistoricJobLogQuerypublic HistoricJobLogQuery withoutTenantId()
HistoricJobLogQuerywithoutTenantId in interface HistoricJobLogQuerypublic HistoricJobLogQuery hostname(String hostname)
HistoricJobLogQueryhostname in interface HistoricJobLogQuerypublic HistoricJobLogQuery creationLog()
HistoricJobLogQuerycreationLog in interface HistoricJobLogQuerypublic HistoricJobLogQuery failureLog()
HistoricJobLogQueryfailureLog in interface HistoricJobLogQuerypublic HistoricJobLogQuery successLog()
HistoricJobLogQuerysuccessful executed job.successLog in interface HistoricJobLogQuerypublic HistoricJobLogQuery deletionLog()
HistoricJobLogQuerydeletionLog in interface HistoricJobLogQueryprotected boolean hasExcludingConditions()
AbstractQueryhasExcludingConditions in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>true if the query does have excluding conditions, false otherwisepublic HistoricJobLogQuery orderByTimestamp()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByTimestamp in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByJobId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobDueDate()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByJobDueDate in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobRetries()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByJobRetries in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobPriority()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByJobPriority in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByJobDefinitionId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByJobDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByActivityId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByActivityId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByExecutionId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByExecutionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByProcessInstanceId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByProcessDefinitionId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByProcessDefinitionKey()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByProcessDefinitionKey in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByDeploymentId()
HistoricJobLogQueryQuery.asc() or Query.desc()).orderByDeploymentId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderPartiallyByOccurrence()
HistoricJobLogQuerySort 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 HistoricJobLogQuerypublic HistoricJobLogQuery orderByTenantId()
HistoricJobLogQueryQuery.asc() or Query.desc()).
Note that the ordering of job log entries without tenant id is database-specific.orderByTenantId in interface HistoricJobLogQuerypublic HistoricJobLogQuery orderByHostname()
HistoricJobLogQueryQuery.asc() or Query.desc()).
Note that the ordering of job log entries without hostname is database-specific.orderByHostname in interface HistoricJobLogQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricJobLogQuery,HistoricJobLog>public List<HistoricJobLog> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList 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[] getFailedActivityIds()
public String[] getExecutionIds()
public String getProcessInstanceId()
public String getProcessDefinitionId()
public String getProcessDefinitionKey()
public String getDeploymentId()
public JobState getState()
public String[] getTenantIds()
public String getHostname()
protected void setState(JobState state)
Copyright © 2022. All rights reserved.