Class DeleteSuspendedJobCmd
- java.lang.Object
-
- org.flowable.job.service.impl.cmd.DeleteSuspendedJobCmd
-
- All Implemented Interfaces:
Serializable,Command<Object>
public class DeleteSuspendedJobCmd extends Object implements Command<Object>, Serializable
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JobServiceConfigurationjobServiceConfigurationprotected StringsuspendedJobId
-
Constructor Summary
Constructors Constructor Description DeleteSuspendedJobCmd(String suspendedJobId, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(CommandContext commandContext)protected SuspendedJobEntitygetJobToDelete(CommandContext commandContext)protected voidsendCancelEvent(SuspendedJobEntity jobToDelete)
-
-
-
Field Detail
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
suspendedJobId
protected String suspendedJobId
-
-
Constructor Detail
-
DeleteSuspendedJobCmd
public DeleteSuspendedJobCmd(String suspendedJobId, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public Object execute(CommandContext commandContext)
-
sendCancelEvent
protected void sendCancelEvent(SuspendedJobEntity jobToDelete)
-
getJobToDelete
protected SuspendedJobEntity getJobToDelete(CommandContext commandContext)
-
-