Class HealthCheckMessage.Builder
- java.lang.Object
-
- com.atlassian.confluence.impl.health.HealthCheckMessage.Builder
-
- Enclosing class:
- HealthCheckMessage
public static class HealthCheckMessage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckMessage.Builder
append(String s)
Returns a HealthCheckMessage Builder with the given text appended.HealthCheckMessage.Builder
appendLink(String url, String linkText, boolean newTab)
Creates a hyperlink.HealthCheckMessage.Builder
appendList(Iterable<String> items)
HealthCheckMessage.Builder
appendList(String... items)
HealthCheckMessage
build()
HealthCheckMessage.Builder
lineBreak()
HealthCheckMessage.Builder
tag(String tag, String tagContents)
Appends the given tag.HealthCheckMessage.Builder
withHeading(String headline)
-
-
-
Method Detail
-
build
public HealthCheckMessage build()
-
withHeading
public HealthCheckMessage.Builder withHeading(String headline)
-
append
public HealthCheckMessage.Builder append(String s)
Returns a HealthCheckMessage Builder with the given text appended.- Parameters:
s
- the append to format- Returns:
- Builder
-
lineBreak
public HealthCheckMessage.Builder lineBreak()
-
tag
public HealthCheckMessage.Builder tag(String tag, String tagContents)
Appends the given tag.- Parameters:
tag
- the append to format- Returns:
- Builder
-
appendLink
public HealthCheckMessage.Builder appendLink(String url, String linkText, boolean newTab)
Creates a hyperlink.- Parameters:
url
- the url the hyperlink points tolinkText
- the text shown in the linknewTab
- whether the link should open in a new tab (i.e.target="_blank"
- Returns:
- this Builder
-
appendList
public HealthCheckMessage.Builder appendList(String... items)
-
appendList
public HealthCheckMessage.Builder appendList(Iterable<String> items)
-
-