|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.spi.commons.EventBundleImpl
public class EventBundleImpl
EventBundleImpl
implements a serializable EventBundle
.
Constructor Summary | |
---|---|
EventBundleImpl(Collection<Event> events,
boolean isLocal)
Creates a new event bundle with events . |
Method Summary | |
---|---|
Iterator<Event> |
getEvents()
Returns the events of this bundle. |
boolean |
isLocal()
Returns true if this event bundle is associated with a
change that was initiated by a local session info. |
Iterator<Event> |
iterator()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventBundleImpl(Collection<Event> events, boolean isLocal)
events
.
events
- the events for this bundle.isLocal
- if this events were created due to a local change.Method Detail |
---|
public Iterator<Event> getEvents()
getEvents
in interface EventBundle
events
of this bundle.public boolean isLocal()
true
if this event bundle is associated with a
change that was initiated by a local session info. Event bundles for
external changes will aways return false
.
isLocal
in interface EventBundle
true
if this event bundle is associated with a local
change, false
if this event bundle contains external
changes.public Iterator<Event> iterator()
iterator
in interface Iterable<Event>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |