Core API 7.13

net.juniper.smgt.sae.portal
Class ScheduleEntry

java.lang.Object
  extended by net.juniper.smgt.sae.portal.ScheduleEntry
Direct Known Subclasses:
OneTimeScheduleEntry

public class ScheduleEntry
extends java.lang.Object

The ScheduleEntry class encapsulates schedule that can be configured by the subscriber to be taken.

Since:
4.0

Constructor Summary
ScheduleEntry()
          Default constrcutor
ScheduleEntry(java.lang.String id, ScheduledTime scheduledTime, Action[] actions)
          Constrcutor with eventDate and actions
 
Method Summary
 Action[] getActions()
          Sets the actions to be taken at the event time.
 java.lang.String getId()
           
 ScheduledTime getScheduledTime()
          Gets the time for the event using the given milliseconds time value
 void setActions(Action[] aActions)
          Sets the actions to be taken at the event time.
 void setId(java.lang.String id)
           
 void setScheduledTime(ScheduledTime scheduledTime)
          Sets the time for the event using the given milliseconds time value.
 java.lang.String toString()
          For debugging only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduleEntry

public ScheduleEntry()
Default constrcutor


ScheduleEntry

public ScheduleEntry(java.lang.String id,
                     ScheduledTime scheduledTime,
                     Action[] actions)
Constrcutor with eventDate and actions

Parameters:
long - eventTime The event time
Action[] - actions The actions to take at the event time.
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

setActions

public void setActions(Action[] aActions)
Sets the actions to be taken at the event time. The actions is an ordered sequence of actions. That is, at the event time, the array of actions is traversed from the beginning of the array to the end of the array.

Parameters:
Actions[] - aActions The array of actions to be taken in order a the event time.
See Also:
getActions(), Action

getActions

public Action[] getActions()
Sets the actions to be taken at the event time. The actions is an ordered sequence of actions. That is, at the event time, the array of actions is traversed from the beginning of the array to the end of the array.

Returns:
Actions[] The array of actions to be taken in order a the event time.
See Also:
setActions(net.juniper.smgt.sae.portal.Action[]), Action

getScheduledTime

public ScheduledTime getScheduledTime()
Gets the time for the event using the given milliseconds time value. *

Returns:
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. * @see #setEventTime
See Also:
Date.setTime(long)

setScheduledTime

public void setScheduledTime(ScheduledTime scheduledTime)
Sets the time for the event using the given milliseconds time value.

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.

Parameters:
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.
See Also:
getScheduledTime(), Date.setTime(long)

toString

public java.lang.String toString()
For debugging only. Returns a description of this bean.

Overrides:
toString in class java.lang.Object

Core API 7.13