Class MoveDeadLetterJobToHistoryJobCmd
- java.lang.Object
-
- org.flowable.job.service.impl.cmd.MoveDeadLetterJobToHistoryJobCmd
-
- All Implemented Interfaces:
Serializable,Command<HistoryJob>
public class MoveDeadLetterJobToHistoryJobCmd extends Object implements Command<HistoryJob>, Serializable
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdeadletterJobIdprotected JobServiceConfigurationjobServiceConfigurationprotected intretries
-
Constructor Summary
Constructors Constructor Description MoveDeadLetterJobToHistoryJobCmd(String deadletterJobId, int retries, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoryJobexecute(CommandContext commandContext)StringgetDeadletterJobId()
-
-
-
Field Detail
-
deadletterJobId
protected String deadletterJobId
-
retries
protected int retries
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
MoveDeadLetterJobToHistoryJobCmd
public MoveDeadLetterJobToHistoryJobCmd(String deadletterJobId, int retries, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
execute
public HistoryJob execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<HistoryJob>
-
getDeadletterJobId
public String getDeadletterJobId()
-
-