Interface MutableTrigger

    • Method Detail

      • setJobKey

        void setJobKey​(JobKey key)
      • setDescription

        void setDescription​(java.lang.String description)

        Set a description for the Trigger instance - may be useful for remembering/displaying the purpose of the trigger, though the description has no meaning to Quartz.

      • setCalendarName

        void setCalendarName​(java.lang.String calendarName)

        Associate the Calendar with the given name with this Trigger.

        Parameters:
        calendarName - use null to dis-associate a Calendar.
      • setJobDataMap

        void setJobDataMap​(JobDataMap jobDataMap)

        Set the JobDataMap to be associated with the Trigger.

      • setPriority

        void setPriority​(int priority)
        The priority of a Trigger acts as a tie breaker such that if two Triggers have the same scheduled fire time, then Quartz will do its best to give the one with the higher priority first access to a worker thread.

        If not explicitly set, the default value is 5.

        See Also:
        Trigger.DEFAULT_PRIORITY
      • setStartTime

        void setStartTime​(java.util.Date startTime)

        The time at which the trigger's scheduling should start. May or may not be the first actual fire time of the trigger, depending upon the type of trigger and the settings of the other properties of the trigger. However the first actual first time will not be before this date.

        Setting a value in the past may cause a new trigger to compute a first fire time that is in the past, which may cause an immediate misfire of the trigger.

      • clone

        java.lang.Object clone()