Package org.camunda.bpm.engine.impl.cmd
Class SetJobRetriesCmd
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.cmd.SetJobRetriesCmd
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- Command<java.lang.Void>
 
 public class SetJobRetriesCmd extends java.lang.Object implements Command<java.lang.Void>, java.io.Serializable - Author:
- Askar Akhmerov
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static java.lang.StringDUE_DATEprotected java.util.DatedueDateprotected booleanisDueDateSetprotected java.lang.StringjobDefinitionIdprotected java.lang.StringjobIdprotected java.util.List<java.lang.String>jobIdsprotected static CommandLoggerLOGprotected intretriesprotected static java.lang.StringRETRIESprotected static longserialVersionUID
 - 
Constructor SummaryConstructors Constructor Description SetJobRetriesCmd(java.lang.String jobId, java.lang.String jobDefinitionId, int retries, java.util.Date dueDate, boolean isDueDateSet)SetJobRetriesCmd(java.util.List<java.lang.String> jobIds, int retries, java.util.Date dueDate, boolean isDueDateSet)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Voidexecute(CommandContext commandContext)protected java.lang.StringgetLogEntryOperation()protected voidsetJobRetriesByJobDefinitionId(CommandContext commandContext)protected voidsetJobRetriesByJobId(java.lang.String jobId, CommandContext commandContext)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDprotected static final long serialVersionUID - See Also:
- Constant Field Values
 
 - 
LOGprotected static final CommandLogger LOG 
 - 
RETRIESprotected static final java.lang.String RETRIES - See Also:
- Constant Field Values
 
 - 
DUE_DATEprotected static final java.lang.String DUE_DATE - See Also:
- Constant Field Values
 
 - 
jobIdprotected final java.lang.String jobId 
 - 
jobDefinitionIdprotected final java.lang.String jobDefinitionId 
 - 
jobIdsprotected final java.util.List<java.lang.String> jobIds 
 - 
retriesprotected final int retries 
 - 
dueDateprotected java.util.Date dueDate 
 - 
isDueDateSetprotected final boolean isDueDateSet 
 
- 
 - 
Constructor Detail- 
SetJobRetriesCmdpublic SetJobRetriesCmd(java.lang.String jobId, java.lang.String jobDefinitionId, int retries, java.util.Date dueDate, boolean isDueDateSet)
 - 
SetJobRetriesCmdpublic SetJobRetriesCmd(java.util.List<java.lang.String> jobIds, int retries, java.util.Date dueDate, boolean isDueDateSet)
 
- 
 - 
Method Detail- 
executepublic java.lang.Void execute(CommandContext commandContext) 
 - 
setJobRetriesByJobIdprotected void setJobRetriesByJobId(java.lang.String jobId, CommandContext commandContext)
 - 
setJobRetriesByJobDefinitionIdprotected void setJobRetriesByJobDefinitionId(CommandContext commandContext) 
 - 
getLogEntryOperationprotected java.lang.String getLogEntryOperation() 
 
- 
 
-