Package org.camunda.bpm.engine.impl.cmd
Class SetJobRetriesCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.SetJobRetriesCmd
-
- All Implemented Interfaces:
Serializable
,Command<Void>
public class SetJobRetriesCmd extends Object implements Command<Void>, Serializable
- Author:
- Askar Akhmerov
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DUE_DATE
protected Date
dueDate
protected boolean
isDueDateSet
protected String
jobDefinitionId
protected String
jobId
protected List<String>
jobIds
protected static CommandLogger
LOG
protected int
retries
protected static String
RETRIES
protected static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SetJobRetriesCmd(String jobId, String jobDefinitionId, int retries, Date dueDate, boolean isDueDateSet)
SetJobRetriesCmd(List<String> jobIds, int retries, Date dueDate, boolean isDueDateSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
execute(CommandContext commandContext)
protected String
getLogEntryOperation()
protected void
setJobRetriesByJobDefinitionId(CommandContext commandContext)
protected void
setJobRetriesByJobId(String jobId, CommandContext commandContext)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
LOG
protected static final CommandLogger LOG
-
RETRIES
protected static final String RETRIES
- See Also:
- Constant Field Values
-
DUE_DATE
protected static final String DUE_DATE
- See Also:
- Constant Field Values
-
jobId
protected final String jobId
-
jobDefinitionId
protected final String jobDefinitionId
-
retries
protected final int retries
-
dueDate
protected Date dueDate
-
isDueDateSet
protected final boolean isDueDateSet
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
setJobRetriesByJobId
protected void setJobRetriesByJobId(String jobId, CommandContext commandContext)
-
setJobRetriesByJobDefinitionId
protected void setJobRetriesByJobDefinitionId(CommandContext commandContext)
-
getLogEntryOperation
protected String getLogEntryOperation()
-
-