| File was renamed from opends/src/quicksetup/org/opends/quicksetup/installer/InstallProgressDescriptor.java |
| | |
| | | * 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. |
| | |
| | | * messages). |
| | | * |
| | | */ |
| | | public class InstallProgressDescriptor |
| | | { |
| | | private InstallProgressStep step; |
| | | public class ProgressDescriptor { |
| | | |
| | | private ProgressStep step; |
| | | |
| | | private Integer progressBarRatio; |
| | | |
| | |
| | | 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; |
| | |
| | | * 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; |
| | | } |