public static class HealthCheckMessage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
public HealthCheckMessage build()
public HealthCheckMessage.Builder withHeading(String headline)
public HealthCheckMessage.Builder append(String s)
s
- the append to formatpublic HealthCheckMessage.Builder lineBreak()
public HealthCheckMessage.Builder tag(String tag, String tagContents)
tag
- the append to formatpublic HealthCheckMessage.Builder appendLink(String url, String linkText, boolean newTab)
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"
public HealthCheckMessage.Builder appendList(String... items)
public HealthCheckMessage.Builder appendList(Iterable<String> items)
Copyright © 2003–2020 Atlassian. All rights reserved.