public class ReplicationEvent
extends java.lang.Object
implements java.io.Serializable
ReplicationAction
needs to be handledModifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_TOPIC |
static java.lang.String |
PATHS |
Constructor and Description |
---|
ReplicationEvent(ReplicationAction replicationAction) |
ReplicationEvent(ReplicationAction replicationAction,
boolean isLocal) |
Modifier and Type | Method and Description |
---|---|
static ReplicationEvent |
fromEvent(Event evt)
Convert an OSGi event to a replication event if possible.
|
ReplicationAction |
getReplicationAction()
Returns the underlying
ReplicationAction which fired this event |
Event |
toEvent()
Create a distributable event.
|
Event |
toNonDistributableEvent()
Create a non distributable event.
|
public static final java.lang.String EVENT_TOPIC
public static final java.lang.String PATHS
public ReplicationEvent(ReplicationAction replicationAction)
public ReplicationEvent(ReplicationAction replicationAction, boolean isLocal)
public ReplicationAction getReplicationAction()
ReplicationAction
which fired this eventpublic static ReplicationEvent fromEvent(Event evt)
evt
- The OSGi event.public Event toEvent()
public Event toNonDistributableEvent()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"