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