Class JobSaveRequest

    • Constructor Detail

      • JobSaveRequest

        public JobSaveRequest()
    • Method Detail

      • isUpdateSchedule

        public boolean isUpdateSchedule()
        This determines whether to create the defined schedule and whether to create the additional schedules. If the job doesn't exist, this flag is ignored and all schedules are created. If the job exists and this flag is false, the schedule's are not created.
        Returns:
        whether to update schedule
      • setUpdateSchedule

        public void setUpdateSchedule​(boolean updateSchedule)
      • withUpdateSchedule

        public JobSaveRequest withUpdateSchedule​(boolean updateSchedule)
      • isUpdateAttributes

        public boolean isUpdateAttributes()
        This determines whether to update the job's attributes. If the job doesn't exist, this flag is ignored and the job is created with the attributes specified. If the job exists and this flag is false, the attributes are not updated.
        Returns:
        whether to update attributes
      • setUpdateAttributes

        public void setUpdateAttributes​(boolean updateAttributes)
      • withUpdateAttributes

        public JobSaveRequest withUpdateAttributes​(boolean updateAttributes)
      • getCustomCalendarName

        public java.lang.String getCustomCalendarName()
      • setCustomCalendarName

        public void setCustomCalendarName​(java.lang.String customCalendarName)
      • withCustomCalendarName

        public JobSaveRequest withCustomCalendarName​(java.lang.String customCalendarName)
      • setJobSchedules

        public void setJobSchedules​(java.util.List<ScheduleSaveRequest> jobSchedules)