|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.replication.ReplicationOptions
public class ReplicationOptions
The ReplicationOptions encapsulate optional
configuration parameters for a replication.
| Constructor Summary | |
|---|---|
ReplicationOptions()
Create a new options object with default values |
|
| Method Summary | |
|---|---|
AgentFilter |
getFilter()
Returns the filter for selecting the agents. |
ReplicationListener |
getListener()
Returns the replication listener. |
String |
getRevision()
Returns the revision to replicate |
boolean |
isSynchronous()
Should the replication be done synchronous or asynchronous? The default is asynchronously. |
void |
setDesiredAgentIDs(String... desiredAgentId)
Deprecated. use setFilter(AgentFilter) instead. |
void |
setFilter(AgentFilter filter)
Sets the filter for selecting the agents for the replication. |
void |
setListener(ReplicationListener listener)
Sets the replication listener. |
void |
setRevision(String revision)
Sets the revision to replicate. |
void |
setSynchronous(boolean synchronous)
Set the synchronous flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplicationOptions()
| Method Detail |
|---|
public boolean isSynchronous()
true for synchronous replicationpublic void setSynchronous(boolean synchronous)
synchronous - true for synchronous replicationpublic void setDesiredAgentIDs(String... desiredAgentId)
setFilter(AgentFilter) instead.
AgentIdFilter.
desiredAgentId - agent idspublic void setFilter(AgentFilter filter)
filter - agent filterpublic AgentFilter getFilter()
public String getRevision()
public void setRevision(String revision)
revision - the revision name.public ReplicationListener getListener()
nullpublic void setListener(ReplicationListener listener)
listener - the replication listener.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||