Uses of Interface
org.camunda.bpm.engine.runtime.Job
Package
Description
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
Typical usage of the API starts by the creation of a
ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine
can be obtained.Through the services obtained from such a
ProcessEngine
, BPM and workflow operation
can be executed:RepositoryService
:
Manages Deployment
sRuntimeService
:
For starting and searching ProcessInstance
sTaskService
:
Exposes operations to manage human (standalone) Task
s,
such as claiming, completing and assigning tasksIdentityService
:
Used for managing User
s,
Group
s and the relations between themManagementService
:
Exposes engine admin and maintenance operations,
which have no relation to the runtime execution of business processesHistoryService
:
Exposes information about ongoing and past process instances.FormService
:
Access to form data and rendered forms for starting new process instances and completing tasks.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of Job in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionHistoryService.cleanUpHistoryAsync()
Schedules history cleanup job at batch window start time.HistoryService.cleanUpHistoryAsync
(boolean immediatelyDue) Schedules history cleanup job at batch window start time.HistoryService.findHistoryCleanupJob()
Deprecated.As of v.Modifier and TypeMethodDescriptionHistoryService.findHistoryCleanupJobs()
Finds history cleanup jobs if present. -
Uses of Job in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionHistoryServiceImpl.cleanUpHistoryAsync()
HistoryServiceImpl.cleanUpHistoryAsync
(boolean immediatelyDue) HistoryServiceImpl.findHistoryCleanupJob()
Modifier and TypeMethodDescriptionJobQueryImpl.executeList
(CommandContext commandContext, Page page) HistoryServiceImpl.findHistoryCleanupJobs()
-
Uses of Job in org.camunda.bpm.engine.impl.cmd
Modifier and TypeMethodDescriptionHistoryCleanupCmd.createJobs
(int[][] minuteChunks) FindHistoryCleanupJobsCmd.execute
(CommandContext commandContext) HistoryCleanupCmd.getHistoryCleanupJobs()
HistoryCleanupCmd.reconfigureJobs
(List<Job> historyCleanupJobs, int degreeOfParallelism, int[][] minuteChunks) Modifier and TypeMethodDescriptionHistoryCleanupCmd.reconfigureJobs
(List<Job> historyCleanupJobs, int degreeOfParallelism, int[][] minuteChunks) protected boolean
HistoryCleanupCmd.shouldCreateJobs
(List<Job> jobs) protected boolean
HistoryCleanupCmd.shouldReconfigureJobs
(List<Job> jobs) protected boolean
HistoryCleanupCmd.shouldSuspendJobs
(List<Job> jobs) protected void
HistoryCleanupCmd.suspendJobs
(List<Job> jobs) -
Uses of Job in org.camunda.bpm.engine.impl.history.producer
Modifier and TypeMethodDescriptionDefaultHistoryEventProducer.createHistoricJobLogCreateEvt
(Job job) HistoryEventProducer.createHistoricJobLogCreateEvt
(Job job) Creates the history event fired when a job has been created.DefaultHistoryEventProducer.createHistoricJobLogDeleteEvt
(Job job) HistoryEventProducer.createHistoricJobLogDeleteEvt
(Job job) Creates the history event fired when the a job has been deleted.protected HistoryEvent
DefaultHistoryEventProducer.createHistoricJobLogEvt
(Job job, HistoryEventType eventType) DefaultHistoryEventProducer.createHistoricJobLogFailedEvt
(Job job, Throwable exception) HistoryEventProducer.createHistoricJobLogFailedEvt
(Job job, Throwable exception) Creates the history event fired when the execution of a job failed.DefaultHistoryEventProducer.createHistoricJobLogSuccessfulEvt
(Job job) HistoryEventProducer.createHistoricJobLogSuccessfulEvt
(Job job) Creates the history event fired when the execution of a job was successful.protected void
DefaultHistoryEventProducer.initHistoricJobLogEvent
(HistoricJobLogEventEntity evt, Job job, HistoryEventType eventType) protected HistoricJobLogEventEntity
DefaultHistoryEventProducer.newHistoricJobLogEntity
(Job job) -
Uses of Job in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeClassDescriptionclass
JobEntity for ever living job, which can be rescheduled and executed again.class
Stub of the common parts of a Job.class
NOTE: instances of Message Entity should be created viaMessageJobDeclaration
.class
Modifier and TypeMethodDescriptionJobManager.findJobsByHandlerType
(String handlerType) JobManager.findJobsByQueryCriteria
(JobQueryImpl jobQuery, Page page) Modifier and TypeMethodDescriptionvoid
HistoricJobLogManager.fireJobCreatedEvent
(Job job) void
HistoricJobLogManager.fireJobDeletedEvent
(Job job) void
HistoricJobLogManager.fireJobFailedEvent
(Job job, Throwable exception) void
HistoricJobLogManager.fireJobSuccessfulEvent
(Job job) protected boolean
HistoricJobLogManager.isHistoryEventProduced
(HistoryEventType eventType, Job job) -
Uses of Job in org.camunda.bpm.engine.rest.dto.runtime
-
Uses of Job in org.camunda.bpm.engine.test.assertions.bpmn
Modifier and TypeMethodDescriptionprotected Job
JobAssert.getCurrent()
static Job
BpmnAwareTests.job()
Helper method to easily access the only job currently available in the context of the last asserted process instance.static Job
Helper method to easily access the only job with the given activityId currently available in the context of the last asserted process instance.static Job
BpmnAwareTests.job
(String activityId, ProcessInstance processInstance) Helper method to easily access the only job with the given activityId currently available in the context of the given process instance.static Job
Helper method to easily access the only job compliant to a given jobQuery and currently available in the context of the last asserted process instance.static Job
BpmnAwareTests.job
(JobQuery jobQuery, ProcessInstance processInstance) Helper method to easily access the only job compliant to a given jobQuery and currently available in the context of the given process instance.static Job
BpmnAwareTests.job
(ProcessInstance processInstance) Helper method to easily access the only job currently available in the context of the given process instance.Modifier and TypeMethodDescriptionstatic JobAssert
BpmnAwareTests.assertThat
(Job actual) Assert that...protected static JobAssert
JobAssert.assertThat
(ProcessEngine engine, Job actual) static void
Helper method to easily execute a job.protected String