| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.quicksetup; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | |
| | | /** |
| | | * This class is used to describe the current state of the installation. |
| | |
| | | |
| | | private Integer progressBarRatio; |
| | | |
| | | private Message progressBarMsg; |
| | | private LocalizableMessage progressBarMsg; |
| | | |
| | | private Message detailsMsg; |
| | | private LocalizableMessage detailsMsg; |
| | | |
| | | /** |
| | | * Constructor for the ProgressDescriptor. |
| | |
| | | * @param detailsMsg the logs. |
| | | */ |
| | | public ProgressDescriptor(ProgressStep step, |
| | | Integer progressBarRatio, Message progressBarMsg, Message detailsMsg) |
| | | Integer progressBarRatio, LocalizableMessage progressBarMsg, LocalizableMessage 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 Message getDetailsMsg() |
| | | public LocalizableMessage getDetailsMsg() |
| | | { |
| | | return detailsMsg; |
| | | } |
| | |
| | | * Returns the progress bar message. |
| | | * @return the progress bar message. |
| | | */ |
| | | public Message getProgressBarMsg() |
| | | public LocalizableMessage getProgressBarMsg() |
| | | { |
| | | return progressBarMsg; |
| | | } |