public class DefaultDocumentationLinkProvider extends Object implements DocumentationLinkProvider
Constructor and Description |
---|
DefaultDocumentationLinkProvider(I18nBeanFactory i18nBeanFactory) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAllUrls()
Returns an immutable map of all help links keys and actual links to the help documentation.
|
String |
getTitle(String key)
Retrieve the title for the link to help documentation.
|
String |
getUrl(String key)
Constructs a link to the help documentation.
|
void |
postConstruct() |
@Inject public DefaultDocumentationLinkProvider(I18nBeanFactory i18nBeanFactory)
@PostConstruct public void postConstruct()
@NotNull public String getUrl(@NotNull String key)
DocumentationLinkProvider
getUrl
in interface DocumentationLinkProvider
key
- the key to retrieve the documentation link for@NotNull public String getTitle(@NotNull String key)
DocumentationLinkProvider
getTitle
in interface DocumentationLinkProvider
key
- the key of the help link to retrieve the title for.@NotNull public Map<String,String> getAllUrls()
DocumentationLinkProvider
getAllUrls
in interface DocumentationLinkProvider
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.