From 9b23e8325caf1c548dbf07fccb0a31d29e5d1cca Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 12 Sep 2007 23:21:22 +0000
Subject: [PATCH] Fix for issues: 1335: define, document, review CLI to register a server in a synch 1336: CLI implementation to register a server in a synchronization 1878: provide a CLI to initialize a replication topology from a gi 2201: ads-trustore missing when not configuring replication with t 2250: Setup and dsreplication utilities should configure schema sy

---
 opends/src/guitools/org/opends/guitools/replicationcli/EnableReplicationUserData.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/replicationcli/EnableReplicationUserData.java b/opends/src/guitools/org/opends/guitools/replicationcli/EnableReplicationUserData.java
index e17ca87..a15aa92 100644
--- a/opends/src/guitools/org/opends/guitools/replicationcli/EnableReplicationUserData.java
+++ b/opends/src/guitools/org/opends/guitools/replicationcli/EnableReplicationUserData.java
@@ -49,6 +49,7 @@
   private boolean useStartTLS2;
   private boolean useSSL2;
   private int replicationPort2;
+  private boolean replicateSchema = true;
 
   /**
    * Returns the host name of the first server.
@@ -322,4 +323,24 @@
   {
     this.replicationPort2 = replicationPort2;
   }
+
+  /**
+   * Returns <CODE>true</CODE> if the user asked to replicate schema and <CODE>
+   * false</CODE> otherwise.
+   * @return <CODE>true</CODE> if the user asked to replicate schema and <CODE>
+   * false</CODE> otherwise.
+   */
+  public boolean replicateSchema()
+  {
+    return replicateSchema;
+  }
+
+  /**
+   * Sets whether to replicate schema or not.
+   * @param replicateSchema whether to replicate schema or not.
+   */
+  public void setReplicateSchema(boolean replicateSchema)
+  {
+    this.replicateSchema = replicateSchema;
+  }
 }

--
Gitblit v1.10.0