Class ScheduleIntervalTrigger


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190101")
    public final class ScheduleIntervalTrigger
    extends ScheduleTrigger
    The interval schedule trigger.
    Note: Objects should always be created or deserialized using the ScheduleIntervalTrigger.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ScheduleIntervalTrigger.Builder, which maintain a set of all explicitly set fields called ScheduleIntervalTrigger.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getInterval

        public Integer getInterval()
        The interval of frequency.
        Returns:
        the value
      • getInitialJitterInMinutes

        public Integer getInitialJitterInMinutes()
        Maximum number of minutes after timeStart that the scheduler may use to randomly select the first execution time.

        This value is considered only when isRandomStartTime is true. This value applies only to the initial execution; subsequent executions remain deterministic based on the resolved first trigger time. If timeStart is null, the service resolves the effective start time using the current time. The initial jitter window is then applied once to that resolved start time to determine the first execution time. If not provided and isRandomStartTime is true, the service defaults the jitter window to half of the configured interval duration. The value must not exceed the configured interval duration.

        Returns:
        the value
      • getIsRandomStartTime

        public Boolean getIsRandomStartTime()
        when true, system generates a randomized first start time between timeStart and timeStart + initialJitterInMinutes.

        if timeStart is null, the current time is used as the base start time.

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class ScheduleTrigger
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation