|
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
Single-action schedule used to specify when a timer expiration notification is sent to the associated trigger.
Field Summary | |
protected java.util.Calendar |
m_expirationDate
|
Constructor Summary | |
Schedule()
Construct a new Schedule with the default expiration (current time) |
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 the schedule. |
java.util.Calendar |
getExpiration()
Gets the expiration for the schedule. |
static int |
getVersion()
Internal use only. |
int |
hashCode()
Returns a hash code value for the schedule. |
boolean |
isFixedDelay()
Gets the fixed-delay status of the schedule. |
boolean |
isRepeating()
Used to identify a repeating schedule. |
java.util.Calendar |
next(java.util.Calendar date)
Gets the next date/time at which a timeout should be generated 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 |
setExpiration(java.util.Calendar date)
Sets the expiration to the date specified. |
void |
setExpiration(long millis)
Sets the expiration to the value specified. |
java.lang.String |
toString()
Gets the string representation of this schedule. |
void |
writeExternal(java.io.ObjectOutput out)
Saves the contents of this object to the stream specified. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Calendar m_expirationDate
Constructor Detail |
public Schedule()
Method Detail |
public void setExpiration(long millis) throws InvalidArgumentException
millis
- Expiration time in milliseconds from the
current time.
InvalidArgumentException
- if the value specified is less
than zero.public void setExpiration(java.util.Calendar date) throws InvalidArgumentException
date
- Date of expiration.
InvalidArgumentException
- if the date specified is
earlier than the current system time.public java.util.Calendar getExpiration()
public boolean isRepeating()
IntervalSchedule
,
oracle.ias.scheduler.CronIntervalSchedule
public java.util.Calendar getEndDate()
IntervalSchedule
,
oracle.ias.scheduler.CronIntervalSchedule
public boolean isFixedDelay()
IntervalSchedule
,
oracle.ias.scheduler.CronIntervalSchedule
public java.util.Calendar next(java.util.Calendar date)
IntervalSchedule
,
RecurSchedule
public java.util.Calendar expected(java.util.Calendar date)
date
- from which the expected expiration is calculated
public java.lang.String toString()
IntervalSchedule.toString()
public int hashCode()
public boolean equals(java.lang.Object v)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public static int getVersion()
|
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 |