public abstract class AbstractExternalWorkerJobCmd extends Object implements Command<Void>
| Modifier and Type | Field and Description |
|---|---|
protected String |
externalJobId |
protected JobServiceConfiguration |
jobServiceConfiguration |
protected String |
workerId |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExternalWorkerJobCmd(String externalJobId,
String workerId,
JobServiceConfiguration jobServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
Void |
execute(CommandContext commandContext) |
protected void |
moveExternalWorkerJobToExecutableJob(ExternalWorkerJobEntity externalWorkerJob,
CommandContext commandContext) |
protected ExternalWorkerJobEntity |
resolveJob(CommandContext commandContext) |
protected abstract void |
runJobLogic(ExternalWorkerJobEntity externalWorkerJob,
CommandContext commandContext) |
protected final String externalJobId
protected final String workerId
protected final JobServiceConfiguration jobServiceConfiguration
protected AbstractExternalWorkerJobCmd(String externalJobId, String workerId, JobServiceConfiguration jobServiceConfiguration)
public final Void execute(CommandContext commandContext)
protected abstract void runJobLogic(ExternalWorkerJobEntity externalWorkerJob, CommandContext commandContext)
protected void moveExternalWorkerJobToExecutableJob(ExternalWorkerJobEntity externalWorkerJob, CommandContext commandContext)
protected ExternalWorkerJobEntity resolveJob(CommandContext commandContext)
Copyright © 2020 Flowable. All rights reserved.