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:
  • Field Details

  • Constructor Details

    • SetJobRetriesCmd

      public SetJobRetriesCmd(String jobId, String jobDefinitionId, int retries, Date dueDate, boolean isDueDateSet)
    • SetJobRetriesCmd

      public SetJobRetriesCmd(List<String> jobIds, int retries, Date dueDate, boolean isDueDateSet)
  • Method Details

    • execute

      public Void execute(CommandContext commandContext)
      Specified by:
      execute in interface Command<Void>
    • setJobRetriesByJobId

      protected void setJobRetriesByJobId(String jobId, CommandContext commandContext)
    • setJobRetriesByJobDefinitionId

      protected void setJobRetriesByJobDefinitionId(CommandContext commandContext)
    • getLogEntryOperation

      protected String getLogEntryOperation()