Package org.camunda.bpm.scenario.impl
Class JobExecutable
- java.lang.Object
-
- org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
-
- org.camunda.bpm.scenario.impl.AbstractExecutable<org.camunda.bpm.engine.runtime.Job>
-
- org.camunda.bpm.scenario.impl.JobExecutable
-
- All Implemented Interfaces:
Comparable<AbstractExecutable>,Executable<AbstractExecutable>
- Direct Known Subclasses:
ContinuationExecutable,TimerJobExecutable
public abstract class JobExecutable extends AbstractExecutable<org.camunda.bpm.engine.runtime.Job>
- Author:
- Martin Schimak
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.camunda.bpm.scenario.impl.Executable
Executable.Deferreds, Executable.Helpers, Executable.Jobs, Executable.Waitstates
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.scenario.impl.AbstractExecutable
delegate, idComparator, runner
-
Fields inherited from class org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
processEngine
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJobExecutable(ProcessRunnerImpl runner, org.camunda.bpm.engine.runtime.Job job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AbstractExecutable other)voidexecute()protected voidexecuteJob()protected org.camunda.bpm.engine.runtime.JobgetDelegate()StringgetExecutionId()-
Methods inherited from class org.camunda.bpm.scenario.impl.AbstractExecutable
isExecutableAt
-
Methods inherited from class org.camunda.bpm.scenario.impl.delegate.AbstractProcessEngineServicesDelegate
getAuthorizationService, getCaseService, getDecisionService, getExternalTaskService, getFilterService, getFormService, getHistoryService, getIdentityService, getManagementService, getProcessEngine, getRepositoryService, getRuntimeService, getTaskService
-
-
-
-
Constructor Detail
-
JobExecutable
protected JobExecutable(ProcessRunnerImpl runner, org.camunda.bpm.engine.runtime.Job job)
-
-
Method Detail
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin classAbstractExecutable<org.camunda.bpm.engine.runtime.Job>
-
getDelegate
protected org.camunda.bpm.engine.runtime.Job getDelegate()
- Specified by:
getDelegatein classAbstractExecutable<org.camunda.bpm.engine.runtime.Job>
-
executeJob
protected void executeJob()
-
execute
public void execute()
-
compareTo
public int compareTo(AbstractExecutable other)
- Specified by:
compareToin interfaceComparable<AbstractExecutable>- Overrides:
compareToin classAbstractExecutable<org.camunda.bpm.engine.runtime.Job>
-
-