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/Step.java | 32 ++++++++++++++++++++++++++------
1 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/Step.java b/opends/src/quicksetup/org/opends/quicksetup/Step.java
index 05e6e27..20ebe82 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/Step.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Step.java
@@ -38,25 +38,45 @@
/**
* Welcome step for the installation.
*/
- WELCOME,
+ WELCOME("welcome-step"),
/**
* Server Settings step (path, port, etc.).
*/
- SERVER_SETTINGS,
+ SERVER_SETTINGS("server-settings-step"),
/**
* Data Options panel (suffix dn, LDIF path, etc.).
*/
- DATA_OPTIONS,
+ DATA_OPTIONS("data-options-step"),
/**
* Review panel for the install.
*/
- REVIEW,
+ REVIEW("review-step"),
/**
* Progress panel.
*/
- PROGRESS,
+ PROGRESS("progress-step"),
/**
* Confirmation panel for the uninstallation.
*/
- CONFIRM_UNINSTALL
+ CONFIRM_UNINSTALL("confirm-uninstall-step");
+
+ private String msgKey;
+
+ /**
+ * Creates a step.
+ * @param msgKey the message key used to access a message catalog to
+ * retreive this step's display name
+ */
+ Step(String msgKey) {
+ this.msgKey = msgKey;
+ }
+
+ /**
+ * Gets this steps message key.
+ * @return String message key used to access a message catalog to
+ * retreive this step's display name
+ */
+ public String getMessageKey() {
+ return msgKey;
+ }
}
--
Gitblit v1.10.0