public final class PageEvent
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_TOPIC
Event topic for page modification events.
|
Constructor and Description |
---|
PageEvent(java.util.List<PageModification> mods) |
PageEvent(java.util.List<PageModification> mods,
boolean isLocal) |
PageEvent(PageModification mod) |
Modifier and Type | Method and Description |
---|---|
static PageEvent |
fromEvent(Event evt)
Convert an OSGi event to a page event if possible.
|
java.util.Iterator<PageModification> |
getModifications()
Get the list of modifications.
|
boolean |
isLocal()
Is this a local or a cluster event?
|
Event |
toEvent()
Create a distributable event.
|
Event |
toNonDistributableEvent()
Create a non distributable event.
|
public static final java.lang.String EVENT_TOPIC
public PageEvent(PageModification mod)
public PageEvent(java.util.List<PageModification> mods)
public PageEvent(java.util.List<PageModification> mods, boolean isLocal)
public java.util.Iterator<PageModification> getModifications()
public boolean isLocal()
true
if this is a local eventpublic static PageEvent fromEvent(Event evt)
evt
- The OSGi event.public Event toEvent()
public Event toNonDistributableEvent()
Copyright © 2010 - 2020 Adobe. All Rights Reserved