public class EventBundleImpl extends java.lang.Object implements EventBundle, java.io.Serializable
EventBundleImpl
implements a serializable EventBundle
.Constructor and Description |
---|
EventBundleImpl(java.util.Collection<Event> events,
boolean isLocal)
Creates a new event bundle with
events . |
Modifier and Type | Method and Description |
---|---|
java.util.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. |
java.util.Iterator<Event> |
iterator() |
public EventBundleImpl(java.util.Collection<Event> events, boolean isLocal)
events
.events
- the events for this bundle.isLocal
- if this events were created due to a local change.public java.util.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.Copyright © 2010 - 2020 Adobe. All Rights Reserved