From c9d828643471890c2812f7d959a98ea8cb135fb8 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Mon, 02 Apr 2007 15:07:10 +0000
Subject: [PATCH] further refactorings to delegate application logic to Application classes in addition to basic upgrade tool implementation classes and scripts
---
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
index 7f07b4f..30684c3 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -140,6 +140,16 @@
private static final String WINDOWS_UNINSTALL_FILE_NAME = "uninstall.bat";
/**
+ * The UNIX uninstall script file name.
+ */
+ private static final String UNIX_UPGRADE_FILE_NAME = "upgrade";
+
+ /**
+ * The Windows uninstall batch file name.
+ */
+ private static final String WINDOWS_UPGRADE_FILE_NAME = "upgrade.bat";
+
+ /**
* The UNIX start script file name.
*/
private static final String UNIX_START_FILE_NAME = "start-ds";
@@ -1167,6 +1177,24 @@
}
/**
+ * Returns the name of the UNIX upgrade script file name.
+ * @return the name of the UNIX upgrade script file name.
+ */
+ public static String getUnixUpgradeFileName()
+ {
+ return UNIX_UPGRADE_FILE_NAME;
+ }
+
+ /**
+ * Returns the name of the Windows upgrade batch file name.
+ * @return the name of the Windows upgrade batch file name.
+ */
+ public static String getWindowsUpgradeFileName()
+ {
+ return WINDOWS_UPGRADE_FILE_NAME;
+ }
+
+ /**
* Returns the name of the UNIX start script file name.
* @return the name of the UNIX start script file name.
*/
--
Gitblit v1.10.0