public class PlainTextProgressMessageFormatter extends Object implements ProgressMessageFormatter
| Constructor and Description |
|---|
PlainTextProgressMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.i18n.LocalizableMessage |
getFormattedAfterUrlClick(String url,
org.forgerock.i18n.LocalizableMessage lastText)
Returns the log formatted representation after the user has clicked on a
url.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedDone()
Returns the formatted representation of the 'Done' text string.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedError()
Returns the formatted representation of the 'Error' text string.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedError(org.forgerock.i18n.LocalizableMessage text,
boolean applyMargin)
Returns the formatted representation of an error for a given text.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedError(Throwable t,
boolean applyMargin)
Returns the formatted representation of an error message for a given
throwable.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedLog(org.forgerock.i18n.LocalizableMessage text)
Returns the formatted representation of a log message for a given text.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedLogError(org.forgerock.i18n.LocalizableMessage text)
Returns the formatted representation of a log error message for a given
text.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedPoint()
Returns the formatted representation of a point.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedProgress(org.forgerock.i18n.LocalizableMessage text)
Returns the formatted representation of a progress message for a given
text.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedSuccess(org.forgerock.i18n.LocalizableMessage text)
Returns the formatted representation of a success message for a given text.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedSummary(org.forgerock.i18n.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).
|
org.forgerock.i18n.LocalizableMessage |
getFormattedText(org.forgerock.i18n.LocalizableMessage text)
Returns the formatted representation of the text without providing any
style.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedWarning(org.forgerock.i18n.LocalizableMessage text,
boolean applyMargin)
Returns the formatted representation of a warning for a given text.
|
org.forgerock.i18n.LocalizableMessage |
getFormattedWithPoints(org.forgerock.i18n.LocalizableMessage text)
Returns the formatted representation of the argument text to which we add
points.
|
org.forgerock.i18n.LocalizableMessage |
getLineBreak()
Returns the line break formatted.
|
org.forgerock.i18n.LocalizableMessage |
getSpace()
Returns the formatted representation of a space.
|
org.forgerock.i18n.LocalizableMessage |
getTab()
Returns the tab formatted.
|
org.forgerock.i18n.LocalizableMessage |
getTaskSeparator()
Returns the task separator formatted.
|
public org.forgerock.i18n.LocalizableMessage getFormattedText(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedText in interface ProgressMessageFormattertext - the source text from which we want to get the formatted
representationpublic org.forgerock.i18n.LocalizableMessage getFormattedSummary(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedSummary in interface ProgressMessageFormattertext - the source text from which we want to get the formatted
representationpublic org.forgerock.i18n.LocalizableMessage getFormattedError(org.forgerock.i18n.LocalizableMessage text,
boolean applyMargin)
ProgressMessageFormattergetFormattedError in interface ProgressMessageFormattertext - 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.public org.forgerock.i18n.LocalizableMessage getFormattedWarning(org.forgerock.i18n.LocalizableMessage text,
boolean applyMargin)
ProgressMessageFormattergetFormattedWarning in interface ProgressMessageFormattertext - 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.public org.forgerock.i18n.LocalizableMessage getFormattedSuccess(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedSuccess in interface ProgressMessageFormattertext - the source text from which we want to get the formatted
representationpublic org.forgerock.i18n.LocalizableMessage getFormattedLogError(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedLogError in interface ProgressMessageFormattertext - the source text from which we want to get the formatted
representationpublic org.forgerock.i18n.LocalizableMessage getFormattedLog(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedLog in interface ProgressMessageFormattertext - the source text from which we want to get the formatted
representationpublic org.forgerock.i18n.LocalizableMessage getFormattedDone()
ProgressMessageFormattergetFormattedDone in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getFormattedError()
ProgressMessageFormattergetFormattedError in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getFormattedWithPoints(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedWithPoints in interface ProgressMessageFormattertext - the String to which add points.public org.forgerock.i18n.LocalizableMessage getFormattedPoint()
ProgressMessageFormattergetFormattedPoint in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getSpace()
ProgressMessageFormattergetSpace in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getFormattedProgress(org.forgerock.i18n.LocalizableMessage text)
ProgressMessageFormattergetFormattedProgress in interface ProgressMessageFormattertext - the source text from which we want to get the formatted
representationpublic org.forgerock.i18n.LocalizableMessage getFormattedError(Throwable t, boolean applyMargin)
ProgressMessageFormattertrue.getFormattedError in interface ProgressMessageFormattert - the throwable.applyMargin - specifies whether we apply a margin or not to the
resulting formatted text.public org.forgerock.i18n.LocalizableMessage getLineBreak()
ProgressMessageFormattergetLineBreak in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getTab()
ProgressMessageFormattergetTab in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getTaskSeparator()
ProgressMessageFormattergetTaskSeparator in interface ProgressMessageFormatterpublic org.forgerock.i18n.LocalizableMessage getFormattedAfterUrlClick(String url, org.forgerock.i18n.LocalizableMessage lastText)
ProgressMessageFormattergetFormattedAfterUrlClick in interface ProgressMessageFormatterurl - that has been clickedlastText - the formatted representation of the progress log before
clicking on the url.Copyright © 2010-2020 Wren Security. All Rights Reserved.