|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ias.scheduler.Schedule
oracle.ias.scheduler.RepeatingSchedule
oracle.ias.scheduler.RecurSchedule
| Field Summary |
| Fields inherited from class oracle.ias.scheduler.RepeatingSchedule |
m_endDate, m_fixedDelay |
| Fields inherited from class oracle.ias.scheduler.Schedule |
m_expirationDate |
| Constructor Summary | |
RecurSchedule()
Internal use only. |
|
RecurSchedule(java.lang.String expr)
Construct a new schedule with the RFC-2445 recur expression specified. |
|
| Method Summary | |
boolean |
equals(java.lang.Object v)
Indicates whether some object is "equal to" this one. |
java.util.Calendar |
expected(java.util.Calendar date)
Gets the expected expiration date for this schedule for the date specified. |
java.util.Calendar |
getEndDate()
Gets the end date of this schedule. |
java.util.Calendar |
getExpiration()
Gets the initial expiration for the schedule. |
long |
getExpirationMillis()
Returns the expiration for the schedule. |
boolean |
isRepeating()
Used to identify a repeating schedule. |
static void |
main(java.lang.String[] args)
|
java.util.Calendar |
next()
Gets the next date/time at which a timeout should be generated for this schedule accounting for the end date if applicable. |
java.util.Calendar |
next(java.util.Calendar datetime)
Gets the next date/time at which a timeout should be generated from that specified for this schedule accounting for the end date if applicable. |
void |
readExternal(java.io.ObjectInput in)
Restores the contents of this object from the stream specified. |
void |
setCount(int count)
Set the number of times the schedule should repeat. |
void |
setEndDate(java.util.Calendar end)
Sets the end date for this schedule. |
void |
setExpiration(java.util.Calendar expiration)
Set the initial expiration date for the schedule. |
void |
setExpiration(long expiration)
Set the initial expiration date for the schedule. |
void |
writeExternal(java.io.ObjectOutput out)
Saves the contents of this object to the stream specified. |
| Methods inherited from class oracle.ias.scheduler.RepeatingSchedule |
isFixedDelay, setFixedDelay |
| Methods inherited from class oracle.ias.scheduler.Schedule |
getVersion, hashCode, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RecurSchedule()
public RecurSchedule(java.lang.String expr)
throws InvalidArgumentException
InvalidArgumentException - if the expression specified is
malformed or invalid| Method Detail |
public boolean isRepeating()
isRepeating in class ScheduleIntervalSchedule,
oracle.ias.scheduler.CronIntervalSchedulepublic void setExpiration(long expiration)
setExpiration in class Scheduleexpiration - in millis from current time at which initial
expiration will occur.public void setExpiration(java.util.Calendar expiration)
setExpiration in class Scheduleexpiration - date/time at which initial expiration will occur.public java.util.Calendar getExpiration()
getExpiration in class Schedulepublic long getExpirationMillis()
public void setEndDate(java.util.Calendar end)
setEndDate in class RepeatingScheduleend - date on which schedule ends.public java.util.Calendar getEndDate()
getEndDate in class RepeatingSchedulepublic java.util.Calendar next()
public java.util.Calendar next(java.util.Calendar datetime)
next in class ScheduleIntervalSchedule,
RecurSchedulepublic java.util.Calendar expected(java.util.Calendar date)
expected in class Scheduledate - from which the expected expiration is calculated
public void setCount(int count)
count - number of times the schedule will repeat.public boolean equals(java.lang.Object v)
equals in class Schedule
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class Schedulejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class Schedulejava.io.IOException
java.lang.ClassNotFoundException
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||