public class ReplicatedAction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_AGENT_IDS |
| Constructor and Description |
|---|
ReplicatedAction(ReplicationAction replicationAction,
java.util.List<java.lang.String> agentIds) |
| Modifier and Type | Method and Description |
|---|---|
static ReplicatedAction |
fromEvent(org.osgi.service.event.Event evt)
Convert an OSGi event to a replication event.
|
java.util.List<java.lang.String> |
getAgentIds()
Return the agentIds
|
ReplicationAction |
getReplicationAction()
Return the ReplicationAction
|
org.osgi.service.event.Event |
toEvent(boolean distributeEvents)
Create an OSGi event out of the replication event.
|
public static final java.lang.String PROPERTY_AGENT_IDS
public ReplicatedAction(@Nonnull
ReplicationAction replicationAction,
java.util.List<java.lang.String> agentIds)
public ReplicationAction getReplicationAction()
public java.util.List<java.lang.String> getAgentIds()
public static ReplicatedAction fromEvent(org.osgi.service.event.Event evt)
evt - The OSGi eventpublic org.osgi.service.event.Event toEvent(boolean distributeEvents)
distributeEvents - if true a distributed event is createdCopyright © 2010 - 2023 Adobe. All Rights Reserved