org.apache.pluto.driver.services.container
Class EventList

java.lang.Object
  extended by org.apache.pluto.driver.services.container.EventList

public class EventList
extends Object

The Class EventList. Stores events in a list.


Constructor Summary
EventList()
           
 
Method Summary
 void addEvent(Event event)
          Adds an event.
 Event getEvent(String eventName)
          Gets the event.
 List<Event> getEvents()
          Gets the events.
 int getSize()
          Gets the size.
 boolean hasMoreEvents()
          Checks for more events.
 boolean isNotProcessed(Event event)
          Checks if the event is not processed.
 void setProcessed(Event event)
          Sets the processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventList

public EventList()
Method Detail

addEvent

public void addEvent(Event event)
Adds an event.

Parameters:
event - the event
eventNumber - the event number

getEvents

public List<Event> getEvents()
Gets the events.

Returns:
the events

isNotProcessed

public boolean isNotProcessed(Event event)
Checks if the event is not processed.

Parameters:
event - the event
Returns:
true, if is not processed

hasMoreEvents

public boolean hasMoreEvents()
Checks for more events.

Returns:
true, if has more events

setProcessed

public void setProcessed(Event event)
Sets the processed.

Parameters:
event - the processed

getEvent

public Event getEvent(String eventName)
Gets the event.

Parameters:
eventName - the event name
eventNumber - the event number
Returns:
the event

getSize

public int getSize()
Gets the size.

Returns:
the size


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.