| | |
| | | |
| | | package org.opends.quicksetup; |
| | | |
| | | import org.opends.messages.Message; |
| | | |
| | | /** |
| | | * This class is used to describe the current state of the installation. |
| | | * It contains the step in which the installation is, the current progress |
| | |
| | | |
| | | private Integer progressBarRatio; |
| | | |
| | | private String progressBarMsg; |
| | | private Message progressBarMsg; |
| | | |
| | | private String detailsMsg; |
| | | private Message detailsMsg; |
| | | |
| | | /** |
| | | * Constructor for the ProgressDescriptor. |
| | |
| | | * @param detailsMsg the logs. |
| | | */ |
| | | public ProgressDescriptor(ProgressStep step, |
| | | Integer progressBarRatio, String progressBarMsg, String detailsMsg) |
| | | Integer progressBarRatio, Message progressBarMsg, Message detailsMsg) |
| | | { |
| | | this.step = step; |
| | | this.progressBarRatio = progressBarRatio; |
| | |
| | | * Returns the details message (the log message) of the install. |
| | | * @return the details message (the log message) of the install. |
| | | */ |
| | | public String getDetailsMsg() |
| | | public Message getDetailsMsg() |
| | | { |
| | | return detailsMsg; |
| | | } |
| | |
| | | * Returns the progress bar message. |
| | | * @return the progress bar message. |
| | | */ |
| | | public String getProgressBarMsg() |
| | | public Message getProgressBarMsg() |
| | | { |
| | | return progressBarMsg; |
| | | } |