From fe7adf67d25394d49e064d73a6048e6dce3dd59b Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 29 Mar 2007 21:37:27 +0000
Subject: [PATCH] - Created CliApplication interface which defines a common inteface between CliApplications and controlling logic.
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
index 8e70e59..12ff3a5 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/uninstaller/Uninstaller.java
@@ -37,7 +37,7 @@
/**
* This class is in charge of performing the uninstallation of Open DS.
*/
-public class Uninstaller extends Application {
+public class Uninstaller extends Application implements CliApplication {
private ProgressStep status = UninstallProgressStep.NOT_STARTED;
@@ -51,6 +51,8 @@
private Boolean isWindowsServiceEnabled;
+ private UninstallCliHelper cliHelper = new UninstallCliHelper();
+
/**
* {@inheritDoc}
*/
@@ -61,6 +63,15 @@
/**
* {@inheritDoc}
*/
+ public UserData createUserData(String[] args, CurrentInstallStatus status)
+ throws UserDataException
+ {
+ return cliHelper.createUserData(args, status);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
protected String getInstallationPath() {
return null;
}
--
Gitblit v1.10.0