Package org.camunda.bpm.engine.history
Interface HistoricJobLogQuery
- All Superinterfaces:
Query<HistoricJobLogQuery,
HistoricJobLog>
- All Known Implementing Classes:
HistoricJobLogQueryImpl
- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptionactivityIdIn
(String... activityIds) Only select historic job log entries which are associated with one of the given activity ids.Only select created historic job log entries.Only select deleted historic job log entries.deploymentId
(String deploymentId) Only select historic job log entries with the deployment id.executionIdIn
(String... executionIds) Only select historic job log entries which are associated with one of the given execution ids.failedActivityIdIn
(String... activityIds) Only select historic job log entries which are associated with failures of one of the given activity ids.Only select failed historic job log entries.Only selects historic job log entries that belong to the given host name.jobDefinitionConfiguration
(String jobDefinitionConfiguration) Only select historic job log entries with the given job definition configuration type.jobDefinitionId
(String jobDefinitionId) Only select historic job log entries with the given job definition id.jobDefinitionType
(String jobDefinitionType) Only select historic job log entries with the given job definition type.jobExceptionMessage
(String exceptionMessage) Only select historic job log entries with the given exception message.Only select historic job log entries with the given job id.jobPriorityHigherThanOrEquals
(long priority) Only select log entries where the job had a priority higher than or equal to the given priority.jobPriorityLowerThanOrEquals
(long priority) Only select log entries where the job had a priority lower than or equal to the given priority.Only select historic job log entries with the id.Order by activity id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by hostname (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job definition id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job priority (needs to be followed byQuery.asc()
orQuery.desc()
).Order by job retries (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by timestamp (needs to be followed byQuery.asc()
orQuery.desc()
).Sort thehistoric job logs
in the order in which they occurred and needs to be followed byQuery.asc()
orQuery.desc()
.processDefinitionId
(String processDefinitionId) Only select historic job log entries with the process definition id.processDefinitionKey
(String processDefinitionKey) Only select historic job log entries with the process instance key.processInstanceId
(String processInstanceId) Only select historic job log entries with the process instance id.Only select historic job logs which belongs to asuccessful
executed job.tenantIdIn
(String... tenantIds) Only select historic job log entries that belong to one of the given tenant ids.Only selects historic job log entries that have no tenant id.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
logId
Only select historic job log entries with the id. -
jobId
Only select historic job log entries with the given job id. -
jobExceptionMessage
Only select historic job log entries with the given exception message. -
jobDefinitionId
Only select historic job log entries with the given job definition id. -
jobDefinitionType
Only select historic job log entries with the given job definition type. -
jobDefinitionConfiguration
Only select historic job log entries with the given job definition configuration type. -
activityIdIn
Only select historic job log entries which are associated with one of the given activity ids. -
failedActivityIdIn
Only select historic job log entries which are associated with failures of one of the given activity ids. -
executionIdIn
Only select historic job log entries which are associated with one of the given execution ids. -
processInstanceId
Only select historic job log entries with the process instance id. -
processDefinitionId
Only select historic job log entries with the process definition id. -
processDefinitionKey
Only select historic job log entries with the process instance key. -
deploymentId
Only select historic job log entries with the deployment id. -
tenantIdIn
Only select historic job log entries that belong to one of the given tenant ids. -
withoutTenantId
HistoricJobLogQuery withoutTenantId()Only selects historic job log entries that have no tenant id. -
hostname
Only selects historic job log entries that belong to the given host name. -
jobPriorityHigherThanOrEquals
Only select log entries where the job had a priority higher than or equal to the given priority.- Since:
- 7.4
-
jobPriorityLowerThanOrEquals
Only select log entries where the job had a priority lower than or equal to the given priority.- Since:
- 7.4
-
creationLog
HistoricJobLogQuery creationLog()Only select created historic job log entries. -
failureLog
HistoricJobLogQuery failureLog()Only select failed historic job log entries. -
successLog
HistoricJobLogQuery successLog()Only select historic job logs which belongs to asuccessful
executed job. -
deletionLog
HistoricJobLogQuery deletionLog()Only select deleted historic job log entries. -
orderByTimestamp
HistoricJobLogQuery orderByTimestamp()Order by timestamp (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByJobId
HistoricJobLogQuery orderByJobId()Order by job id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByJobDueDate
HistoricJobLogQuery orderByJobDueDate()Order by job due date (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByJobRetries
HistoricJobLogQuery orderByJobRetries()Order by job retries (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByJobPriority
HistoricJobLogQuery orderByJobPriority()Order by job priority (needs to be followed byQuery.asc()
orQuery.desc()
).- Since:
- 7.4
-
orderByJobDefinitionId
HistoricJobLogQuery orderByJobDefinitionId()Order by job definition id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityId
HistoricJobLogQuery orderByActivityId()Order by activity id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByExecutionId
HistoricJobLogQuery orderByExecutionId()Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessInstanceId
HistoricJobLogQuery orderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionId
HistoricJobLogQuery orderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionKey
HistoricJobLogQuery orderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentId
HistoricJobLogQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderPartiallyByOccurrence
HistoricJobLogQuery orderPartiallyByOccurrence()Sort the
historic job logs
in the order in which they occurred and needs to be followed byQuery.asc()
orQuery.desc()
.The set of all
historic job logs
is a partially ordered set. Due to this facthistoric job logs
with differentjob ids
are incomparable. Onlyhistoric job logs
with the samejob id
can be totally ordered by usingjobId(String)
andorderPartiallyByOccurrence()
which will return a result set ordered by its occurrence.- Since:
- 7.3
-
orderByTenantId
HistoricJobLogQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of job log entries without tenant id is database-specific. -
orderByHostname
HistoricJobLogQuery orderByHostname()Order by hostname (needs to be followed byQuery.asc()
orQuery.desc()
). Note that the ordering of job log entries without hostname is database-specific.
-