Uses of Class
org.camunda.bpm.engine.impl.persistence.entity.JobEntity
Package
Description
API implementation classes, which shouldn't directly be used by end-users.
-
Uses of JobEntity in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionprotected void
ModificationBatchJobHandler.postProcessJob
(ModificationBatchConfiguration configuration, JobEntity job, ModificationBatchConfiguration jobConfiguration) protected void
RestartProcessInstancesJobHandler.postProcessJob
(RestartProcessInstancesBatchConfiguration configuration, JobEntity job, RestartProcessInstancesBatchConfiguration jobConfiguration) static boolean
ProcessEngineLogger.shouldLogJobException
(ProcessEngineConfiguration processEngineConfiguration, JobEntity currentJob) -
Uses of JobEntity in org.camunda.bpm.engine.impl.batch
Modifier and TypeMethodDescriptionprotected JobEntity
AbstractBatchJobHandler.createBatchJob
(BatchEntity batch, ByteArrayEntity configuration) BatchEntity.createMonitorJob
(boolean setDueDate) BatchEntity.createSeedJob()
Modifier and TypeMethodDescriptionvoid
AbstractBatchJobHandler.onDelete
(BatchJobConfiguration configuration, JobEntity jobEntity) void
BatchMonitorJobHandler.onDelete
(BatchMonitorJobHandler.BatchMonitorJobConfiguration configuration, JobEntity jobEntity) void
BatchSeedJobHandler.onDelete
(BatchSeedJobHandler.BatchSeedJobConfiguration configuration, JobEntity jobEntity) protected void
AbstractBatchJobHandler.postProcessJob
(T configuration, JobEntity job, T jobConfiguration) -
Uses of JobEntity in org.camunda.bpm.engine.impl.batch.message
Modifier and TypeMethodDescriptionprotected void
MessageCorrelationBatchJobHandler.postProcessJob
(MessageCorrelationBatchConfiguration configuration, JobEntity job, MessageCorrelationBatchConfiguration jobConfiguration) -
Uses of JobEntity in org.camunda.bpm.engine.impl.batch.variables
Modifier and TypeMethodDescriptionprotected void
BatchSetVariablesHandler.postProcessJob
(BatchConfiguration configuration, JobEntity job, BatchConfiguration jobConfiguration) -
Uses of JobEntity in org.camunda.bpm.engine.impl.cfg
Modifier and TypeMethodDescriptionvoid
CommandChecker.checkReadJob
(JobEntity job) Checks if it is allowed to read the given job.void
CommandChecker.checkUpdateJob
(JobEntity job) Checks if it is allowed to update the given job.void
CommandChecker.checkUpdateRetriesJob
(JobEntity job) Checks if it is allowed to update a job retries. -
Uses of JobEntity in org.camunda.bpm.engine.impl.cfg.auth
Modifier and TypeMethodDescriptionvoid
AuthorizationCommandChecker.checkReadJob
(JobEntity job) void
AuthorizationCommandChecker.checkUpdateJob
(JobEntity job) void
AuthorizationCommandChecker.checkUpdateRetriesJob
(JobEntity job) -
Uses of JobEntity in org.camunda.bpm.engine.impl.cfg.multitenancy
Modifier and TypeMethodDescriptionvoid
TenantCommandChecker.checkReadJob
(JobEntity job) void
TenantCommandChecker.checkUpdateJob
(JobEntity job) void
TenantCommandChecker.checkUpdateRetriesJob
(JobEntity job) -
Uses of JobEntity in org.camunda.bpm.engine.impl.cmd
Modifier and TypeMethodDescriptionprotected JobEntity
HistoryCleanupCmd.createJob
(int[] minuteChunk, int maxRetries) protected JobEntity
JobRetryCmd.getJob()
protected JobEntity
UnlockJobCmd.getJob()
Modifier and TypeMethodDescriptionprotected void
RecalculateJobDuedateCmd.checkJobType
(JobEntity job) protected void
SetJobPriorityCmd.createOpLogEntry
(CommandContext commandContext, long previousPriority, JobEntity job) protected void
JobRetryCmd.decrementRetries
(JobEntity job) protected void
DefaultJobRetryCmd.executeCustomStrategy
(CommandContext commandContext, JobEntity job, ActivityImpl activity) protected TimerDeclarationImpl
RecalculateJobDuedateCmd.findTimeoutListenerDeclaration
(JobEntity job, ActivityImpl activity) protected TimerDeclarationImpl
RecalculateJobDuedateCmd.findTimerDeclaration
(CommandContext commandContext, JobEntity job) protected TimerDeclarationImpl
RecalculateJobDuedateCmd.findTimerDeclarationForActivity
(CommandContext commandContext, JobEntity job) protected TimerDeclarationImpl
RecalculateJobDuedateCmd.findTimerDeclarationForProcessStartEvent
(CommandContext commandContext, JobEntity job) protected ActivityImpl
DefaultJobRetryCmd.getCurrentActivity
(CommandContext commandContext, JobEntity job) protected FailedJobRetryConfiguration
DefaultJobRetryCmd.getFailedJobRetryConfiguration
(JobEntity job, ActivityImpl activity) protected String
DefaultJobRetryCmd.getFailedJobRetryTimeCycle
(JobEntity job, Expression expression) protected void
DefaultJobRetryCmd.initializeRetries
(JobEntity job, int retries) protected boolean
DefaultJobRetryCmd.isFirstJobExecution
(JobEntity job) protected void
JobRetryCmd.logException
(JobEntity job) protected void
SetProcessDefinitionVersionCmd.switchVersionOfJob
(JobEntity jobEntity, ProcessDefinitionEntity newProcessDefinition, Map<String, String> jobDefinitionMapping) -
Uses of JobEntity in org.camunda.bpm.engine.impl.db
Modifier and TypeMethodDescriptionvoid
EnginePersistenceLogger.debugJobExecuted
(JobEntity jobEntity) -
Uses of JobEntity in org.camunda.bpm.engine.impl.history.producer
Modifier and TypeMethodDescriptionprotected void
DefaultHistoryEventProducer.initSequenceCounter
(JobEntity job, HistoryEvent event) -
Uses of JobEntity in org.camunda.bpm.engine.impl.interceptor
-
Uses of JobEntity in org.camunda.bpm.engine.impl.jobexecutor
Modifier and TypeClassDescriptionclass
JobDeclaration<S,
T extends JobEntity> A job declaration is associated with an activity in the process definition graph.Modifier and TypeFieldDescriptionprotected JobEntity
JobExecutorContext.currentJob
the currently executed jobprotected JobEntity
JobFailureCollector.job
Modifier and TypeMethodDescriptionJobExecutorContext.getCurrentJob()
JobFailureCollector.getJob()
Modifier and TypeMethodDescriptionvoid
JobExecutorLogger.exceptionWhileExecutingJob
(JobEntity job, Throwable exception) protected void
FailedJobListener.fireHistoricJobFailedEvt
(JobEntity job) void
AsyncContinuationJobHandler.onDelete
(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, JobEntity jobEntity) void
Clean up before job is deleted.void
ProcessEventJobHandler.onDelete
(ProcessEventJobHandler.EventSubscriptionJobConfiguration configuration, JobEntity jobEntity) void
TimerChangeJobDefinitionSuspensionStateJobHandler.onDelete
(TimerChangeJobDefinitionSuspensionStateJobHandler.JobDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity) void
TimerChangeProcessDefinitionSuspensionStateJobHandler.onDelete
(TimerChangeProcessDefinitionSuspensionStateJobHandler.ProcessDefinitionSuspensionStateConfiguration configuration, JobEntity jobEntity) void
TimerEventJobHandler.onDelete
(TimerEventJobHandler.TimerJobConfiguration configuration, JobEntity jobEntity) void
JobExecutorContext.setCurrentJob
(JobEntity currentJob) void
-
Uses of JobEntity in org.camunda.bpm.engine.impl.jobexecutor.historycleanup
Modifier and TypeMethodDescriptionprotected void
HistoryCleanupSchedulerCmd.cancelCountEmptyRuns
(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) protected void
HistoryCleanupSchedulerCmd.incrementCountEmptyRuns
(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) void
HistoryCleanupJobHandler.onDelete
(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) protected void
HistoryCleanupSchedulerCmd.rescheduleRegularCall
(CommandContext commandContext, JobEntity jobEntity) protected void
HistoryCleanupSchedulerCmd.suspendJob
(JobEntity jobEntity) -
Uses of JobEntity in org.camunda.bpm.engine.impl.migration.batch
Modifier and TypeMethodDescriptionprotected void
MigrationBatchJobHandler.postProcessJob
(MigrationBatchConfiguration configuration, JobEntity job, MigrationBatchConfiguration jobConfiguration) -
Uses of JobEntity in org.camunda.bpm.engine.impl.migration.instance
Modifier and TypeMethodDescriptionprotected ScopeImpl
MigratingTimerJobInstance.determineTimerTriggerTargetScope
(JobEntity jobEntity, ScopeImpl targetScope) ModifierConstructorDescriptionMigratingAsyncJobInstance
(JobEntity jobEntity, JobDefinitionEntity jobDefinitionEntity, ScopeImpl targetScope) MigratingJobInstance
(JobEntity jobEntity) MigratingJobInstance
(JobEntity jobEntity, JobDefinitionEntity jobDefinitionEntity, ScopeImpl targetScope) MigratingTimerJobInstance
(JobEntity jobEntity) MigratingTimerJobInstance
(JobEntity jobEntity, JobDefinitionEntity jobDefinitionEntity, ScopeImpl targetScope, boolean updateEvent, TimerDeclarationImpl targetTimerDeclaration) -
Uses of JobEntity in org.camunda.bpm.engine.impl.migration.instance.parser
Modifier and TypeFieldDescriptionMigratingInstanceParser.dependentActivityInstanceJobHandler
MigratingInstanceParser.dependentTransitionInstanceJobHandler
protected Collection<JobEntity>
MigratingInstanceParseContext.jobs
Modifier and TypeMethodDescriptionActivityInstanceHandler.collectActivityInstanceJobs
(MigratingActivityInstance migratingInstance) MigratingInstanceParser.fetchJobs
(CommandContext commandContext, String processInstanceId) MigratingInstanceParser.getDependentActivityInstanceJobHandler()
MigratingInstanceParser.getDependentTransitionInstanceJobHandler()
Modifier and TypeMethodDescriptionvoid
protected TimerDeclarationImpl
ActivityInstanceJobHandler.getTargetTimerDeclaration
(JobEntity job, JobHandlerConfiguration jobHandlerConfiguration, String targetActivity, Map<String, Map<String, TimerDeclarationImpl>> targetTimeoutListenerDeclarationsInEventScope, Map<String, TimerDeclarationImpl> targetTimerDeclarationsInEventScope) protected static boolean
TransitionInstanceJobHandler.isAsyncContinuation
(JobEntity job) protected static boolean
ActivityInstanceJobHandler.isNoTimeoutListenerOrMigrates
(JobEntity job, JobHandlerConfiguration jobHandlerConfiguration, String targetActivity, Map<String, Map<String, TimerDeclarationImpl>> targetTimeoutListenerDeclarationsInEventScope) protected static boolean
ActivityInstanceJobHandler.isTimerJob
(JobEntity job) Modifier and TypeMethodDescriptionvoid
ActivityInstanceJobHandler.handle
(MigratingInstanceParseContext parseContext, MigratingActivityInstance activityInstance, List<JobEntity> elements) void
TransitionInstanceJobHandler.handle
(MigratingInstanceParseContext parseContext, MigratingTransitionInstance transitionInstance, List<JobEntity> elements) void
MigratingInstanceParseContext.handleDependentActivityInstanceJobs
(MigratingActivityInstance migratingInstance, List<JobEntity> jobs) void
MigratingInstanceParseContext.handleDependentTransitionInstanceJobs
(MigratingTransitionInstance migratingInstance, List<JobEntity> jobs) MigratingInstanceParseContext.jobs
(Collection<JobEntity> jobs) -
Uses of JobEntity in org.camunda.bpm.engine.impl.migration.validation.instance
Modifier and TypeMethodDescriptionprotected boolean
AsyncProcessStartMigrationValidator.isProcessStartJob
(JobEntity job) -
Uses of JobEntity in org.camunda.bpm.engine.impl.oplog
-
Uses of JobEntity in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeClassDescriptionclass
JobEntity for ever living job, which can be rescheduled and executed again.class
NOTE: instances of Message Entity should be created viaMessageJobDeclaration
.class
Modifier and TypeMethodDescriptionJobManager.findJobsByConfiguration
(String jobHandlerType, String jobHandlerConfiguration, String tenantId) JobManager.findJobsByExecutionId
(String executionId) JobManager.findJobsByJobDefinitionId
(String jobDefinitionId) JobManager.findJobsByProcessInstanceId
(String processInstanceId) ExecutionEntity.getJobs()
ExecutionEntity.getJobsInternal()
Modifier and TypeMethodDescriptionvoid
protected boolean
JobManager.areInSameProcessInstance
(JobEntity job1, JobEntity job2) void
void
protected void
JobManager.hintJobExecutor
(JobEntity job) void
JobManager.insertAndHintJobExecutor
(JobEntity jobEntity) void
protected boolean
Sometimes we get a notification of a job that is not yet due, so we should not execute it immediatelyvoid
void
JobManager.reschedule
(JobEntity jobEntity, Date newDuedate) void