From 7ae21709bb6dbdc092052acb5098bfa5cb316d9e Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 29 Mar 2007 15:09:14 +0000
Subject: [PATCH] These refactorings are essential in anticipation of a new quicksetup application for the upgrader feature (issue 598). These changes were reviewed by Josu.
---
opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/InstallProgressDescriptor.java b/opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java
similarity index 91%
rename from opends/src/quicksetup/org/opends/quicksetup/installer/InstallProgressDescriptor.java
rename to opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java
index 9389874..b6a7f16 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/InstallProgressDescriptor.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java
@@ -25,7 +25,7 @@
* Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
-package org.opends.quicksetup.installer;
+package org.opends.quicksetup;
/**
* This class is used to describe the current state of the installation.
@@ -42,9 +42,9 @@
* messages).
*
*/
-public class InstallProgressDescriptor
-{
- private InstallProgressStep step;
+public class ProgressDescriptor {
+
+ private ProgressStep step;
private Integer progressBarRatio;
@@ -53,13 +53,13 @@
private String detailsMsg;
/**
- * Constructor for the InstallProgressDescriptor.
+ * Constructor for the ProgressDescriptor.
* @param step the current install step.
* @param progressBarRatio the completed progress ratio (in percentage).
* @param progressBarMsg the message to be displayed in the progress bar.
* @param detailsMsg the logs.
*/
- public InstallProgressDescriptor(InstallProgressStep step,
+ public ProgressDescriptor(ProgressStep step,
Integer progressBarRatio, String progressBarMsg, String detailsMsg)
{
this.step = step;
@@ -101,7 +101,7 @@
* Returns the step of the install on which we are.
* @return the step of the install on which we are.
*/
- public InstallProgressStep getProgressStep()
+ public ProgressStep getProgressStep()
{
return step;
}
--
Gitblit v1.10.0