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