public class ProgressDescriptor extends Object
Constructor and Description |
---|
ProgressDescriptor(ProgressStep step,
Integer progressBarRatio,
LocalizableMessage progressBarMsg,
LocalizableMessage detailsMsg)
Constructor for the ProgressDescriptor.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getDetailsMsg()
Returns the details message (the log message) of the install.
|
LocalizableMessage |
getProgressBarMsg()
Returns the progress bar message.
|
Integer |
getProgressBarRatio()
Returns the progress bar ratio (the percentage of the install that is
completed).
|
ProgressStep |
getProgressStep()
Returns the step of the install on which we are.
|
public ProgressDescriptor(ProgressStep step, Integer progressBarRatio, LocalizableMessage progressBarMsg, LocalizableMessage detailsMsg)
step
- the current install step.progressBarRatio
- the completed progress ratio (in percentage).progressBarMsg
- the message to be displayed in the progress bar.detailsMsg
- the logs.public LocalizableMessage getDetailsMsg()
public LocalizableMessage getProgressBarMsg()
public Integer getProgressBarRatio()
public ProgressStep getProgressStep()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.