Class 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 Detail

      • jobId

        protected final java.lang.String jobId
      • jobDefinitionId

        protected final java.lang.String jobDefinitionId
      • jobIds

        protected final java.util.List<java.lang.String> jobIds
      • retries

        protected final int retries
      • dueDate

        protected java.util.Date dueDate
      • isDueDateSet

        protected final boolean isDueDateSet
    • Constructor Detail

      • SetJobRetriesCmd

        public SetJobRetriesCmd​(java.lang.String jobId,
                                java.lang.String jobDefinitionId,
                                int retries,
                                java.util.Date dueDate,
                                boolean isDueDateSet)
      • SetJobRetriesCmd

        public SetJobRetriesCmd​(java.util.List<java.lang.String> jobIds,
                                int retries,
                                java.util.Date dueDate,
                                boolean isDueDateSet)
    • Method Detail

      • setJobRetriesByJobId

        protected void setJobRetriesByJobId​(java.lang.String jobId,
                                            CommandContext commandContext)
      • setJobRetriesByJobDefinitionId

        protected void setJobRetriesByJobDefinitionId​(CommandContext commandContext)
      • getLogEntryOperation

        protected java.lang.String getLogEntryOperation()