public final class DocumentationLink extends Object
Typically, messages will be presented to the user by looking up their value in a properties file (or "bundle"), and
applying DocumentationBean.getLink(String)
to the value. However, this class
does not stipulate how the values held by this object might be used.
This class is immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
static DocumentationLink |
getInstance(String key)
Constructs and returns an instance of a documentation url with the given key.
|
String |
getKey()
Returns the key, used for looking up the documentation url in a localisation bundle.
|
String |
toString() |
public static DocumentationLink getInstance(String key)
key
- the i18n message keypublic String getKey()
Copyright © 2003–2019 Atlassian. All rights reserved.