Class CancelJobsCmd
- java.lang.Object
-
- org.flowable.job.service.impl.cmd.CancelJobsCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class CancelJobsCmd extends Object implements Command<Void>, Serializable
Send job cancelled event and delete job- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>jobIdsprotected JobServiceConfigurationjobServiceConfiguration
-
Constructor Summary
Constructors Constructor Description CancelJobsCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)CancelJobsCmd(List<String> jobIds, JobServiceConfiguration jobServiceConfiguration)
-
-
-
Field Detail
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
CancelJobsCmd
public CancelJobsCmd(List<String> jobIds, JobServiceConfiguration jobServiceConfiguration)
-
CancelJobsCmd
public CancelJobsCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
-