Class EventBundleImpl

    • Constructor Detail

      • 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.
    • Method Detail

      • isLocal

        public boolean isLocal()
        Returns 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.
        Specified by:
        isLocal in interface EventBundle
        Returns:
        true if this event bundle is associated with a local change, false if this event bundle contains external changes.