|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.tcpip.model.schedule.OneTimeSchedule
public class OneTimeSchedule
A simple implementation for one-time (non-repeated) schedule.
Field Summary | |
---|---|
static java.lang.String |
version
|
Fields inherited from interface com.stc.connector.tcpip.model.schedule.Schedule |
---|
TYPE_ONETIME, TYPE_REPEATED |
Constructor Summary | |
---|---|
OneTimeSchedule(java.util.Date startTime,
long delay)
Constructor for OneTimeSchedule. |
Method Summary | |
---|---|
long |
getDelay()
Method getDelay. |
long |
getRepeatPeriod()
Method getRepeatPeriod. |
java.util.Date |
getStartTime()
Method getStartTime. |
boolean |
isFixedRate()
Method isFixedRate. |
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 version
Constructor Detail |
---|
public OneTimeSchedule(java.util.Date startTime, long delay) throws java.lang.IllegalArgumentException
startTime
- Date, null means the parameter delay will be used.delay
- long
java.lang.IllegalArgumentException
- on errorMethod Detail |
---|
public java.util.Date getStartTime()
Schedule
getStartTime
in interface Schedule
Schedule.getStartTime()
public long getDelay()
Schedule
getDelay
in interface Schedule
Schedule.getDelay()
public long getRepeatPeriod()
Schedule
getRepeatPeriod
in interface Schedule
Schedule.getRepeatPeriod()
public boolean isFixedRate()
Schedule
isFixedRate
in interface Schedule
Schedule.isFixedRate()
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |