Class AbstractExternalWorkerJobCmd
- java.lang.Object
-
- org.flowable.job.service.impl.cmd.AbstractExternalWorkerJobCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected StringexternalJobIdprotected JobServiceConfigurationjobServiceConfigurationprotected StringworkerId
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractExternalWorkerJobCmd(String externalJobId, String workerId, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Voidexecute(CommandContext commandContext)protected ExternalWorkerJobEntityresolveJob()protected abstract voidrunJobLogic(ExternalWorkerJobEntity externalWorkerJob, CommandContext commandContext)
-
-
-
Field Detail
-
externalJobId
protected final String externalJobId
-
workerId
protected final String workerId
-
jobServiceConfiguration
protected final JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
AbstractExternalWorkerJobCmd
protected AbstractExternalWorkerJobCmd(String externalJobId, String workerId, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
runJobLogic
protected abstract void runJobLogic(ExternalWorkerJobEntity externalWorkerJob, CommandContext commandContext)
-
resolveJob
protected ExternalWorkerJobEntity resolveJob()
-
-