public class HistoricJobLogQueryImpl extends AbstractQuery<HistoricJobLogQuery,HistoricJobLog> implements HistoricJobLogQuery
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
activityIds |
protected String |
deploymentId |
protected String[] |
executionIds |
protected String |
id |
protected String |
jobDefinitionConfiguration |
protected String |
jobDefinitionId |
protected String |
jobDefinitionType |
protected String |
jobExceptionMessage |
protected String |
jobId |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected JobState |
state |
commandExecutor, expressions, orderingProperties, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsdatabaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameterauthDefaultPerm, authGroupIds, authUserId, isAuthorizationCheckEnabled, permissionChecks| 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() |
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 |
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 |
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 |
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. |
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderingProperties, list, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, setOrderingProperties, singleResult, validate, validategetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameteraddPermissionCheck, getAuthDefaultPerm, getAuthGroupIds, getAuthUserId, getPermissionChecks, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthUserId, setPermissionChecksprotected 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
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 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 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 HistoricJobLogQuerypublic 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 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 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 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()
protected void setState(JobState state)
Copyright © 2018. All rights reserved.