mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
19.16.2007 7b882d3300019e3fa8d850bbd44ffc3aac68dc2d
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -1462,7 +1462,9 @@
    Installation installation = getInstallation();
    String cmd = Utils.getPath(installation.getStatusPanelCommandFile());
    cmd = UIFactory.applyFontToHtml(cmd, UIFactory.INSTRUCTIONS_MONOSPACE_FONT);
    String[] args = {formatter.getFormattedText(getInstallationPath()), cmd};
    String[] args = {formatter.getFormattedText(getInstallationPath()),
        getMsg("general-server-stopped"),
        cmd};
    hmSummary.put(InstallProgressStep.FINISHED_SUCCESSFULLY,
        getFormattedSuccess(
            getMsg("summary-install-finished-successfully", args)));
@@ -1474,6 +1476,33 @@
  }
  /**
   * Updates the messages in the summary with the state of the server.
   * @param hmSummary the Map containing the messages.
   */
  protected void updateSummaryWithServerState(
      Map<InstallProgressStep, String> hmSummary)
  {
   Installation installation = getInstallation();
   String cmd = Utils.getPath(installation.getStatusPanelCommandFile());
   cmd = UIFactory.applyFontToHtml(cmd, UIFactory.INSTRUCTIONS_MONOSPACE_FONT);
   String status;
   if (installation.getStatus().isServerRunning())
   {
     status = getMsg("general-server-started");
   }
   else
   {
     status = getMsg("general-server-stopped");
   }
   String[] args = {formatter.getFormattedText(getInstallationPath()), status,
       cmd};
   hmSummary.put(InstallProgressStep.FINISHED_SUCCESSFULLY,
       getFormattedSuccess(
           getMsg("summary-install-finished-successfully", args)));
   hmSummary.put(InstallProgressStep.FINISHED_WITH_ERROR,
       getFormattedError(getMsg("summary-install-finished-with-error", args)));
  }
  /**
   * Checks the value of <code>canceled</code> field and throws an
   * ApplicationException if true.  This indicates that the user has
   * canceled this operation and the process of aborting should begin