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