org.apache.jackrabbit.spi.commons
Class EventBundleImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.EventBundleImpl
- All Implemented Interfaces:
- Serializable, Iterable<Event>, EventBundle
public class EventBundleImpl
- extends Object
- implements EventBundle, Serializable
EventBundleImpl implements a serializable EventBundle.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventBundleImpl
public EventBundleImpl(Collection<Event> events,
boolean isLocal)
- Creates a new event bundle with
events.
- Parameters:
events - the events for this bundle.isLocal - if this events were created due to a local change.
getEvents
public Iterator<Event> getEvents()
-
- Specified by:
getEvents in interface EventBundle
isLocal
public boolean isLocal()
-
- Specified by:
isLocal in interface EventBundle
iterator
public Iterator<Event> iterator()
-
- Specified by:
iterator in interface Iterable<Event>
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.