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