public interface ProgressMessageFormatter
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getFormattedAfterUrlClick(String url,
LocalizableMessage lastText)
Returns the log formatted representation after the user has clicked on a
url.
|
LocalizableMessage |
getFormattedDone()
Returns the formatted representation of the 'Done' text string.
|
LocalizableMessage |
getFormattedError()
Returns the formatted representation of the 'Error' text string.
|
LocalizableMessage |
getFormattedError(LocalizableMessage text,
boolean applyMargin)
Returns the formatted representation of an error for a given text.
|
LocalizableMessage |
getFormattedError(Throwable t,
boolean applyMargin)
Returns the formatted representation of an error message for a given
throwable.
|
LocalizableMessage |
getFormattedLog(LocalizableMessage text)
Returns the formatted representation of a log message for a given text.
|
LocalizableMessage |
getFormattedLogError(LocalizableMessage text)
Returns the formatted representation of a log error message for a given
text.
|
LocalizableMessage |
getFormattedPoint()
Returns the formatted representation of a point.
|
LocalizableMessage |
getFormattedProgress(LocalizableMessage text)
Returns the formatted representation of a progress message for a given
text.
|
LocalizableMessage |
getFormattedSuccess(LocalizableMessage text)
Returns the formatted representation of a success message for a given text.
|
LocalizableMessage |
getFormattedSummary(LocalizableMessage text)
Returns the formatted representation of the text that is the summary of the
installation process (the one that goes in the UI next to the progress
bar).
|
LocalizableMessage |
getFormattedText(LocalizableMessage text)
Returns the formatted representation of the text without providing any
style.
|
LocalizableMessage |
getFormattedWarning(LocalizableMessage text,
boolean applyMargin)
Returns the formatted representation of a warning for a given text.
|
LocalizableMessage |
getFormattedWithPoints(LocalizableMessage text)
Returns the formatted representation of the argument text to which we add
points.
|
LocalizableMessage |
getLineBreak()
Returns the line break formatted.
|
LocalizableMessage |
getSpace()
Returns the formatted representation of a space.
|
LocalizableMessage |
getTab()
Returns the tab formatted.
|
LocalizableMessage |
getTaskSeparator()
Returns the task separator formatted.
|
LocalizableMessage getFormattedText(LocalizableMessage text)
text
- the source text from which we want to get the formatted
representationLocalizableMessage getFormattedSummary(LocalizableMessage text)
text
- the source text from which we want to get the formatted
representationLocalizableMessage getFormattedError(LocalizableMessage text, boolean applyMargin)
text
- the source text from which we want to get the formatted
representationapplyMargin
- specifies whether we apply a margin or not to the
resulting formatted text.LocalizableMessage getFormattedWarning(LocalizableMessage text, boolean applyMargin)
text
- the source text from which we want to get the formatted
representationapplyMargin
- specifies whether we apply a margin or not to the
resulting formatted text.LocalizableMessage getFormattedSuccess(LocalizableMessage text)
text
- the source text from which we want to get the formatted
representationLocalizableMessage getFormattedLogError(LocalizableMessage text)
text
- the source text from which we want to get the formatted
representationLocalizableMessage getFormattedLog(LocalizableMessage text)
text
- the source text from which we want to get the formatted
representationLocalizableMessage getFormattedDone()
LocalizableMessage getFormattedError()
LocalizableMessage getFormattedWithPoints(LocalizableMessage text)
text
- the String to which add points.LocalizableMessage getFormattedPoint()
LocalizableMessage getSpace()
LocalizableMessage getFormattedProgress(LocalizableMessage text)
text
- the source text from which we want to get the formatted
representationLocalizableMessage getFormattedError(Throwable t, boolean applyMargin)
true
.t
- the throwable.applyMargin
- specifies whether we apply a margin or not to the
resulting formatted text.LocalizableMessage getLineBreak()
LocalizableMessage getTab()
LocalizableMessage getTaskSeparator()
LocalizableMessage getFormattedAfterUrlClick(String url, LocalizableMessage lastText)
url
- that has been clickedlastText
- the formatted representation of the progress log before
clicking on the url.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.