From bf58a21e71230bff9b456627fd31789cc98507bd Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Mon, 27 Apr 2015 10:03:47 +0000
Subject: [PATCH] OPENDJ-1963 Use backend type printable name in UI

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 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 73aa7f5..3cb7076 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
@@ -31,6 +31,9 @@
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 
+import org.forgerock.opendj.config.ManagedObjectDefinition;
+import org.forgerock.opendj.server.config.client.BackendCfgClient;
+import org.forgerock.opendj.server.config.server.BackendCfg;
 import org.opends.admin.ads.ServerDescriptor;
 import org.opends.admin.ads.SuffixDescriptor;
 import org.opends.quicksetup.installer.AuthenticationData;
@@ -72,7 +75,7 @@
 
   private boolean enableWindowsService;
 
-  private String backendType;
+  private ManagedObjectDefinition<? extends BackendCfgClient, ? extends BackendCfg> backendType;
 
   private NewSuffixOptions newSuffixOptions;
 
@@ -359,7 +362,7 @@
    *
    * @return the new userRoot backend type.
    */
-  public String getBackendType()
+  public ManagedObjectDefinition<? extends BackendCfgClient, ? extends BackendCfg> getBackendType()
   {
     return backendType;
   }
@@ -371,7 +374,7 @@
    *          The new backend type. This string must be compatible with
    *          dsconfig tool.
    */
-  public void setBackendType(final String backendType)
+  public void setBackendType(ManagedObjectDefinition<? extends BackendCfgClient, ? extends BackendCfg> backendType)
   {
     this.backendType = backendType;
   }

--
Gitblit v1.10.0