Package org.alfresco.repo.replication
Class ReplicationParamsImpl
java.lang.Object
org.alfresco.repo.replication.ReplicationParamsImpl
- All Implemented Interfaces:
ReplicationParams
Configurable system parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanLock replicated items in target repositorybooleanIs the Replication Service EnabledvoidsetEnabled(boolean isEnabled) set whether the replication service is enabledvoidsetTransferReadOnly(boolean readOnly) Sets whether to lock replicated items
-
Constructor Details
-
ReplicationParamsImpl
public ReplicationParamsImpl()
-
-
Method Details
-
setTransferReadOnly
public void setTransferReadOnly(boolean readOnly) Sets whether to lock replicated items- Parameters:
readOnly-truelock replicated items in target repository
-
getTransferReadOnly
public boolean getTransferReadOnly()Description copied from interface:ReplicationParamsLock replicated items in target repository- Specified by:
getTransferReadOnlyin interfaceReplicationParams- Returns:
truelock replication items
-
isEnabled
public boolean isEnabled()Description copied from interface:ReplicationParamsIs the Replication Service Enabled- Specified by:
isEnabledin interfaceReplicationParams- Returns:
truethe replication service is enabled
-
setEnabled
public void setEnabled(boolean isEnabled) Description copied from interface:ReplicationParamsset whether the replication service is enabled- Specified by:
setEnabledin interfaceReplicationParams
-