Package com.day.cq.replication
Class ReplicatedAction
java.lang.Object
com.day.cq.replication.ReplicatedAction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReplicatedAction(ReplicationAction replicationAction, List<String> agentIds) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicatedActionConvert an OSGi event to a replication event.Return the agentIdsReturn the ReplicationActiontoEvent(boolean distributeEvents) Create an OSGi event out of the replication event.
-
Field Details
-
PROPERTY_AGENT_IDS
- See Also:
-
-
Constructor Details
-
ReplicatedAction
-
-
Method Details
-
getReplicationAction
Return the ReplicationAction- Returns:
- the ReplicationAction
-
getAgentIds
Return the agentIds- Returns:
- the agentIds
-
fromEvent
Convert an OSGi event to a replication event.- Parameters:
evt- The OSGi event- Returns:
- The replication event if the OSGi event contained a replication event. Otherwise null is returned.
-
toEvent
Create an OSGi event out of the replication event.- Parameters:
distributeEvents- iftruea distributed event is created- Returns:
- A new OSGi event.
-