| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.quicksetup.event; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.quicksetup.ProgressStep; |
| | | |
| | | /** |
| | |
| | | |
| | | private Integer progressRatio; |
| | | |
| | | private Message currentPhaseSummary; |
| | | private LocalizableMessage currentPhaseSummary; |
| | | |
| | | private Message newLogs; |
| | | private LocalizableMessage newLogs; |
| | | |
| | | /** |
| | | * Constructor of the ProgressUpdateEvent. |
| | |
| | | * @param newLogs the new log messages that we have for the installation. |
| | | */ |
| | | public ProgressUpdateEvent(ProgressStep step, |
| | | Integer progressRatio, Message currentPhaseSummary, Message newLogs) |
| | | Integer progressRatio, LocalizableMessage currentPhaseSummary, LocalizableMessage newLogs) |
| | | { |
| | | this.step = step; |
| | | this.progressRatio = progressRatio; |
| | |
| | | * status. |
| | | * @return the localized message summary describing the progress status. |
| | | */ |
| | | public Message getCurrentPhaseSummary() |
| | | public LocalizableMessage getCurrentPhaseSummary() |
| | | { |
| | | return currentPhaseSummary; |
| | | } |
| | |
| | | * Gets the new logs for the install progress. |
| | | * @return the new logs for the current install progress. |
| | | */ |
| | | public Message getNewLogs() |
| | | public LocalizableMessage getNewLogs() |
| | | { |
| | | return newLogs; |
| | | } |