com.scalagent.scheduler
Class ScheduleItem

java.lang.Object
  extended by com.scalagent.scheduler.ScheduleItem
All Implemented Interfaces:
java.io.Serializable

public class ScheduleItem
extends java.lang.Object
implements java.io.Serializable

Implements a double linked list of ScheduleEvent objects. Both ends are marked with a null value. Events are ordered in increasing order of dates.

See Also:
Scheduler, ScheduleEvent, Serialized Form

Constructor Summary
ScheduleItem(ScheduleEvent event, ScheduleTask task)
          Creates an item.
 
Method Summary
 java.lang.String toString()
          Provides a string image for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduleItem

public ScheduleItem(ScheduleEvent event,
                    ScheduleTask task)
Creates an item.

Parameters:
event - event to schedule.
task - task to execute.
Method Detail

toString

public java.lang.String toString()
Provides a string image for this object.

Overrides:
toString in class java.lang.Object
Returns:
a string image for this object


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.