Package com.atlassian.bamboo.utils.i18n
Class DefaultDocumentationLinkProvider
java.lang.Object
com.atlassian.bamboo.utils.i18n.DefaultDocumentationLinkProvider
- All Implemented Interfaces:
DocumentationLinkProvider
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultDocumentationLinkProvider
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct() -
getUrl
Description copied from interface:DocumentationLinkProvider
Constructs a link to the help documentation. In case the provided key is invalid, this will return an empty string.- Specified by:
getUrl
in interfaceDocumentationLinkProvider
- Parameters:
key
- the key to retrieve the documentation link for- Returns:
- link to the help documentation
-
getTitle
Description copied from interface:DocumentationLinkProvider
Retrieve the title for the link to help documentation. In case the provided key is invalid, the title will be empty.- Specified by:
getTitle
in interfaceDocumentationLinkProvider
- Parameters:
key
- the key of the help link to retrieve the title for.- Returns:
- the title of the help documentation
-
getAllUrls
Description copied from interface:DocumentationLinkProvider
Returns an immutable map of all help links keys and actual links to the help documentation.- Specified by:
getAllUrls
in interfaceDocumentationLinkProvider
- Returns:
- mapping between help link key and its actual url.
-