public abstract class AbstractExternalWorkerJobCmd extends Object implements Command<Void>
| Modifier and Type | Field and Description |
|---|---|
protected String |
externalJobId |
protected String |
workerId |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExternalWorkerJobCmd(String externalJobId,
String workerId) |
| 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
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 © 2021 Flowable. All rights reserved.