Class MoveJobToDeadLetterJobCmd
- java.lang.Object
-
- org.flowable.job.service.impl.cmd.MoveJobToDeadLetterJobCmd
-
- All Implemented Interfaces:
Serializable,Command<DeadLetterJobEntity>
public class MoveJobToDeadLetterJobCmd extends Object implements Command<DeadLetterJobEntity>, Serializable
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringjobIdprotected JobServiceConfigurationjobServiceConfiguration
-
Constructor Summary
Constructors Constructor Description MoveJobToDeadLetterJobCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeadLetterJobEntityexecute(CommandContext commandContext)StringgetJobId()
-
-
-
Field Detail
-
jobId
protected String jobId
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
MoveJobToDeadLetterJobCmd
public MoveJobToDeadLetterJobCmd(String jobId, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public DeadLetterJobEntity execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<DeadLetterJobEntity>
-
getJobId
public String getJobId()
-
-