|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.PersistableValue
oracle.odi.domain.runtime.scheduling.Recurrence
public final class Recurrence
Recurrence is a value object representing the recurrence pattern of a schedule. To represent its attributes classes and enums from RecurrenceAttributes
are used.
No public constructors are available in this class. Its instances should always be obtained via one of the static factory methods.
According to frequency some properties available by getter methods can be meaningless.
RecurrenceAttributes
, ExplicitDate
, OdiSchedule
, Serialized FormMethods inherited from class oracle.odi.domain.support.BusinessObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Recurrence createYearlyRecurrence(RecurrenceAttributes.MonthOfYear pMonth, RecurrenceAttributes.DayOfMonth pDay, RecurrenceAttributes.TimeOfDay pTime)
RecurrenceAttributes.Frequency.YEARLY
Frequency with specified month, day and time of execution.pMonth
- monthpDay
- daypTime
- timeDomainRuntimeException
- if specified month, day or time is nullpublic static Recurrence createMonthlyRecurrence(RecurrenceAttributes.DayOfMonth pDayOfMonth, RecurrenceAttributes.TimeOfDay pTime)
RecurrenceAttributes.Frequency.MONTHLY
Frequency with specified day and time of execution.pDayOfMonth
- daypTime
- timeDomainRuntimeException
- if specified day or time is nullpublic static Recurrence createMonthlyByWeekDayRecurrence(RecurrenceAttributes.DayOfWeek pDayOfWeek, RecurrenceAttributes.DayOfWeekRank pDayOfWeekRank, RecurrenceAttributes.TimeOfDay pTime)
RecurrenceAttributes.Frequency.MONTHLY_BY_WEEK_DAY
Frequency with specified day of week, its rank in month and time of execution.pDayOfWeek
- day of weekpDayOfWeekRank
- day of week rankpTime
- timeDomainRuntimeException
- if specified day of week, rank or time is nullpublic static Recurrence createWeeklyRecurrence(RecurrenceAttributes.DayOfWeek[] pDaysOfWeek, RecurrenceAttributes.TimeOfDay pTime)
RecurrenceAttributes.Frequency.WEEKLY
Frequency with specified week days and time of execution.pDaysOfWeek
- array of week dayspTime
- timeDomainRuntimeException
- if specified array of week days is null or empty; specified time is nullpublic static Recurrence createDailyRecurrence(RecurrenceAttributes.TimeOfDay pTime)
RecurrenceAttributes.Frequency.DAILY
Frequency with specified time of execution.pTime
- timeDomainRuntimeException
- if specified time is nullpublic static Recurrence createHourlyRecurrence(int pMinute, int pSecond)
RecurrenceAttributes.Frequency.HOURLY
Frequency with specified minute and second of execution.pMinute
- minute of executionpSecond
- second of executionDomainRuntimeException
- if passed values are not between 0 and 59public static Recurrence createOnAgentStartupRecurrence()
RecurrenceAttributes.Frequency.ON_AGENT_STARTUP
Frequency.public static Recurrence createSimpleRecurrence(ExplicitDate pDate)
RecurrenceAttributes.Frequency.SIMPLE
Frequency with specified date of execution.pDate
- dateDomainRuntimeException
- if specified date is nullpublic RecurrenceAttributes.Frequency getFrequency()
public RecurrenceAttributes.TimeOfDay getTime()
Not Relevant for RecurrenceAttributes.Frequency.ON_AGENT_STARTUP
frequency.
getFrequency()
public RecurrenceAttributes.MonthOfYear getMonth()
Relevant for RecurrenceAttributes.Frequency.YEARLY
and RecurrenceAttributes.Frequency.SIMPLE
frequencies only.
getFrequency()
public RecurrenceAttributes.DayOfWeekRank getDayOfWeekRank()
Relevant for RecurrenceAttributes.Frequency.MONTHLY_BY_WEEK_DAY
frequency only.
getFrequency()
public RecurrenceAttributes.DayOfWeek[] getDaysOfWeek()
Relevant for RecurrenceAttributes.Frequency.WEEKLY
and RecurrenceAttributes.Frequency.MONTHLY_BY_WEEK_DAY
frequencies only.
getFrequency()
public RecurrenceAttributes.DayOfMonth getDayOfMonth()
Relevant for RecurrenceAttributes.Frequency.MONTHLY
and RecurrenceAttributes.Frequency.SIMPLE
frequencies only.
getFrequency()
public RecurrenceAttributes.Year getYear()
Relevant for RecurrenceAttributes.Frequency.SIMPLE
frequency only.
getFrequency()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |