Class DeleteJobCmd
- java.lang.Object
-
- org.flowable.job.service.impl.cmd.DeleteJobCmd
-
- All Implemented Interfaces:
Serializable,Command<Object>
public class DeleteJobCmd extends Object implements Command<Object>, Serializable
- Author:
- Saeid Mirzaei, Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringjobIdprotected JobServiceConfigurationjobServiceConfiguration
-
Constructor Summary
Constructors Constructor Description DeleteJobCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(CommandContext commandContext)protected JobEntitygetJobToDelete(CommandContext commandContext)protected voidsendCancelEvent(JobEntity jobToDelete)
-
-
-
Field Detail
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
jobId
protected String jobId
-
-
Constructor Detail
-
DeleteJobCmd
public DeleteJobCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public Object execute(CommandContext commandContext)
-
sendCancelEvent
protected void sendCancelEvent(JobEntity jobToDelete)
-
getJobToDelete
protected JobEntity getJobToDelete(CommandContext commandContext)
-
-