Class SetJobRetriesCmd

java.lang.Object
org.operaton.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

    • serialVersionUID

      protected static final long serialVersionUID
      See Also:
    • LOG

      protected static final CommandLogger LOG
    • PROPERTY_RETRIES

      protected static final String PROPERTY_RETRIES
      See Also:
    • PROPERTY_DUE_DATE

      protected static final String PROPERTY_DUE_DATE
      See Also:
    • jobId

      protected final String jobId
    • jobDefinitionId

      protected final String jobDefinitionId
    • jobIds

      protected final transient List<String> jobIds
    • retries

      protected final int retries
    • dueDate

      protected Date dueDate
    • isDueDateSet

      protected final boolean isDueDateSet
  • 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()