|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.crawler.interfaces.ScheduleRecord
public class ScheduleRecord
This class describes a single scheduling record, which describes a matching date and time for a job to be started or unblocked. It also describes the throttle rate that should be in effect for the interval. This class is immutable.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
protected EnumeratedValues |
dayOfMonth
|
protected EnumeratedValues |
dayOfWeek
|
protected java.lang.Long |
duration
|
protected EnumeratedValues |
hourOfDay
|
protected EnumeratedValues |
minutesOfHour
|
protected EnumeratedValues |
monthOfYear
|
protected java.lang.String |
timezone
|
protected EnumeratedValues |
year
|
| Constructor Summary | |
|---|---|
ScheduleRecord(EnumeratedValues dayOfWeek,
EnumeratedValues monthOfYear,
EnumeratedValues dayOfMonth,
EnumeratedValues year,
EnumeratedValues hourOfDay,
EnumeratedValues minutesOfHour,
java.lang.String timezone,
java.lang.Long duration)
Constructor. |
|
| Method Summary | |
|---|---|
EnumeratedValues |
getDayOfMonth()
Get the day of month. |
EnumeratedValues |
getDayOfWeek()
Get the day of week. |
java.lang.Long |
getDuration()
Get the window duration. |
EnumeratedValues |
getHourOfDay()
Get the hour of the day. |
EnumeratedValues |
getMinutesOfHour()
Get the minutes of the hour. |
EnumeratedValues |
getMonthOfYear()
Get the month of year. |
java.lang.String |
getTimezone()
Get the timezone. |
EnumeratedValues |
getYear()
Get the year. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
protected EnumeratedValues dayOfWeek
protected EnumeratedValues monthOfYear
protected EnumeratedValues dayOfMonth
protected EnumeratedValues year
protected EnumeratedValues hourOfDay
protected EnumeratedValues minutesOfHour
protected java.lang.String timezone
protected java.lang.Long duration
| Constructor Detail |
|---|
public ScheduleRecord(EnumeratedValues dayOfWeek,
EnumeratedValues monthOfYear,
EnumeratedValues dayOfMonth,
EnumeratedValues year,
EnumeratedValues hourOfDay,
EnumeratedValues minutesOfHour,
java.lang.String timezone,
java.lang.Long duration)
dayOfWeek - is the day-of-week enumeration.monthOfYear - is the month-of-year enumeration.dayOfMonth - is the day-of-month enumeration.year - is the year enumeration.hourOfDay - is the time of day enumeration.minutesOfHour - is the minutes enumeration.timezone - is the timezone.duration - is the window duration, or null if infinite.| Method Detail |
|---|
public EnumeratedValues getDayOfWeek()
public EnumeratedValues getMonthOfYear()
public EnumeratedValues getDayOfMonth()
public EnumeratedValues getYear()
public EnumeratedValues getHourOfDay()
public EnumeratedValues getMinutesOfHour()
public java.lang.String getTimezone()
public java.lang.Long getDuration()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||