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/event/ProgressUpdateEvent.java |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/event/InstallProgressUpdateEvent.java b/opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java
similarity index 86%
rename from opends/src/quicksetup/org/opends/quicksetup/event/InstallProgressUpdateEvent.java
rename to opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java
index 8bc0f32..2db1393 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/event/InstallProgressUpdateEvent.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java
@@ -27,7 +27,7 @@
 
 package org.opends.quicksetup.event;
 
-import org.opends.quicksetup.installer.InstallProgressStep;
+import org.opends.quicksetup.ProgressStep;
 
 /**
  * The event that is generated when there is a change during the installation
@@ -36,12 +36,11 @@
  *
  * In the current implementation this events are generated by the Installer
  * objects and are notified to the objects implementing
- * InstallProgressUpdateListener (QuickSetup object).
+ * ProgressUpdateListener (QuickSetup object).
  *
  */
-public class InstallProgressUpdateEvent
-{
-  private InstallProgressStep step;
+public class ProgressUpdateEvent {
+  private ProgressStep step;
 
   private Integer progressRatio;
 
@@ -50,8 +49,8 @@
   private String newLogs;
 
   /**
-   * Constructor of the InstallProgressUpdateEvent.
-   * @param step the InstallProgressStep object describing in which step
+   * Constructor of the ProgressUpdateEvent.
+   * @param step the ProgressStep object describing in which step
    * of the installation we are (configuring server, starting server, etc.)
    * @param progressRatio the integer that specifies which percentage of
    * the whole installation has been completed.
@@ -59,7 +58,7 @@
    * current installation progress.
    * @param newLogs the new log messages that we have for the installation.
    */
-  public InstallProgressUpdateEvent(InstallProgressStep step,
+  public ProgressUpdateEvent(ProgressStep step,
       Integer progressRatio, String currentPhaseSummary, String newLogs)
   {
     this.step = step;
@@ -100,7 +99,7 @@
    * Gets the current progress step.
    * @return the current progress step.
    */
-  public InstallProgressStep getProgressStep()
+  public ProgressStep getProgressStep()
   {
     return step;
   }

--
Gitblit v1.10.0