|
Core API 7.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.juniper.smgt.sae.portal.ScheduleEntry
net.juniper.smgt.sae.portal.OneTimeScheduleEntry
public class OneTimeScheduleEntry
The OneTimeScheduleEntry
class encapsulates one time event
that can be configured by the subscriber to taken.
The EventTIme is used as the key to schedule one time events. There is only a maximum of one
Constructor Summary | |
---|---|
OneTimeScheduleEntry()
Default constrcutor |
|
OneTimeScheduleEntry(long eventTime,
Action[] actions)
Constrcutor with eventDate and actions |
Method Summary | |
---|---|
long |
getEventTime()
Gets the time for the event using the given milliseconds time value. |
java.lang.String |
getId()
|
ScheduledTime |
getScheduledTime()
Gets the time for the event using the given milliseconds time value |
void |
setEventTime(long date)
Sets the time for the event using the given milliseconds time value. |
java.lang.String |
toString()
For debugging only. |
Methods inherited from class net.juniper.smgt.sae.portal.ScheduleEntry |
---|
getActions, setActions, setId, setScheduledTime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OneTimeScheduleEntry()
public OneTimeScheduleEntry(long eventTime, Action[] actions)
long
- eventTime The event timeAction[]
- actions The actions to take at the event time.Method Detail |
---|
public void setEventTime(long date)
If the given milliseconds value contains time information, the driver will set the time components to the time in the default time zone (the time zone of the Java virtual machine running the application) that corresponds to zero GMT.
date
- milliseconds since January 1, 1970, 00:00:00 GMT not to
exceed the milliseconds representation for the year 8099. A
negative number indicates the number of milliseconds before
January 1, 1970, 00:00:00 GMT.getEventTime()
,
Date.setTime(long)
public long getEventTime()
setEventTime(long)
,
Date.setTime(long)
public java.lang.String getId()
getId
in class ScheduleEntry
public ScheduledTime getScheduledTime()
ScheduleEntry
getScheduledTime
in class ScheduleEntry
Date.setTime(long)
public java.lang.String toString()
toString
in class ScheduleEntry
|
Core API 7.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |