public abstract class ExternalTaskCmd extends Object implements Command<Void>
Modifier and Type | Field and Description |
---|---|
protected String |
externalTaskId
The corresponding external task id.
|
Constructor and Description |
---|
ExternalTaskCmd(String externalTaskId) |
Modifier and Type | Method and Description |
---|---|
Void |
execute(CommandContext commandContext) |
protected abstract void |
execute(ExternalTaskEntity externalTask)
Executes the specific external task commands, which belongs to the current sub class.
|
protected abstract void |
validateInput()
Validates the current input of the command.
|
protected String externalTaskId
public ExternalTaskCmd(String externalTaskId)
public Void execute(CommandContext commandContext)
protected abstract void execute(ExternalTaskEntity externalTask)
externalTask
- the external task which is used for the command executionprotected abstract void validateInput()
Copyright © 2019. All rights reserved.