Class EnableReplicationUserData
- java.lang.Object
-
- org.opends.server.tools.dsreplication.ReplicationUserData
-
- org.opends.server.tools.dsreplication.EnableReplicationUserData
-
public class EnableReplicationUserData extends ReplicationUserData
This class is used to store the information provided by the user to enable replication. It is required because when we are in interactive mode the ReplicationCliArgumentParser is not enough.
-
-
Constructor Summary
Constructors Constructor Description EnableReplicationUserData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanreplicateSchema()Returns whether the user asked to replicate schema.voidsetReplicateSchema(boolean replicateSchema)Sets whether to replicate schema or not.StringtoString()-
Methods inherited from class org.opends.server.tools.dsreplication.ReplicationUserData
addBaseDN, getAdminPwd, getAdminUid, getBaseDNs, setAdminPwd, setAdminUid, setBaseDNs
-
-
-
-
Method Detail
-
replicateSchema
public boolean replicateSchema()
Returns whether the user asked to replicate schema.- Returns:
trueif the user asked to replicate schema,falseotherwise.
-
setReplicateSchema
public void setReplicateSchema(boolean replicateSchema)
Sets whether to replicate schema or not.- Parameters:
replicateSchema- whether to replicate schema or not.
-
toString
public String toString()
- Overrides:
toStringin classReplicationUserData
-
-