public class DeleteJobCmd extends Object implements Command<Object>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
jobId |
protected JobServiceConfiguration |
jobServiceConfiguration |
| Constructor and Description |
|---|
DeleteJobCmd(String jobId,
JobServiceConfiguration jobServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(CommandContext commandContext) |
protected JobEntity |
getJobToDelete(CommandContext commandContext) |
protected void |
sendCancelEvent(JobEntity jobToDelete) |
protected JobServiceConfiguration jobServiceConfiguration
protected String jobId
public DeleteJobCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)
public Object execute(CommandContext commandContext)
protected void sendCancelEvent(JobEntity jobToDelete)
protected JobEntity getJobToDelete(CommandContext commandContext)
Copyright © 2021 Flowable. All rights reserved.