From 7c02aa90fad0f4eaf27856ad1afcf2ffd90b64fc Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 02 Apr 2015 15:08:02 +0000
Subject: [PATCH] OPENDJ-1714 (CR-6533) Add backend type choice in setup cli

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java
index dc3ef9c..73aa7f5 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java
@@ -72,6 +72,8 @@
 
   private boolean enableWindowsService;
 
+  private String backendType;
+
   private NewSuffixOptions newSuffixOptions;
 
   private DataReplicationOptions replicationOptions;
@@ -353,6 +355,28 @@
   }
 
   /**
+   * Returns the new userRoot backend type.
+   *
+   * @return the new userRoot backend type.
+   */
+  public String getBackendType()
+  {
+    return backendType;
+  }
+
+  /**
+   * Sets the new userRoot backend type.
+   *
+   * @param backendType
+   *          The new backend type. This string must be compatible with
+   *          dsconfig tool.
+   */
+  public void setBackendType(final String backendType)
+  {
+    this.backendType = backendType;
+  }
+
+  /**
    * Returns the NewSuffixOptions object representing the data in the New Suffix
    * Data Options panel.
    * @return the NewSuffixOptions object representing the data in the New Suffix

--
Gitblit v1.10.0