@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
).
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleIntervalTrigger.Builder |
static class |
ScheduleIntervalTrigger.Frequency
The type of frequency
|
ScheduleTrigger.TriggerType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ScheduleIntervalTrigger(Date timeStart,
Date timeEnd,
ScheduleIntervalTrigger.Frequency frequency,
Integer interval,
Boolean isRandomStartTime)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ScheduleIntervalTrigger.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ScheduleIntervalTrigger.Frequency |
getFrequency()
The type of frequency
|
Integer |
getInterval()
The interval of frequency.
|
Boolean |
getIsRandomStartTime()
when true and timeStart is null, system generate a random start time between now and now +
interval; isRandomStartTime can be true if timeStart is null.
|
int |
hashCode() |
ScheduleIntervalTrigger.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeEnd, getTimeStart
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ScheduleIntervalTrigger(Date timeStart, Date timeEnd, ScheduleIntervalTrigger.Frequency frequency, Integer interval, Boolean isRandomStartTime)
public static ScheduleIntervalTrigger.Builder builder()
Create a new builder.
public ScheduleIntervalTrigger.Builder toBuilder()
public ScheduleIntervalTrigger.Frequency getFrequency()
The type of frequency
public Integer getInterval()
The interval of frequency.
public Boolean getIsRandomStartTime()
when true and timeStart is null, system generate a random start time between now and now + interval; isRandomStartTime can be true if timeStart is null.
public String toString()
toString
in class ScheduleTrigger
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ScheduleTrigger
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ScheduleTrigger
public int hashCode()
hashCode
in class ScheduleTrigger
Copyright © 2016–2025. All rights reserved.