com.atlassian.jira.message.MessageUtil |
Known Indirect Subclasses |
A message utility that acts as a delegate to to the following utilities:
I18nHelper
, HelpUrls
, BaseUrl
and ExternalLinkUtil
.
This utility contains convenient methods to retrieve i18n messages, help urls and external urls.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MessageUtil.Factory |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a
String representation of an anchor tag with an internal link and link text. | |||||||||||
Returns a
HelpUrl that can be used for generic JIRA help. | |||||||||||
Get the external link for the specified key with the specified parameters formatted into the link.
| |||||||||||
Get the external link for the specified key.
| |||||||||||
Get the external link for the specified key with the specified parameters formatted into the link.
| |||||||||||
Get the external link for the specified key with the specified parameter formatted into the link.
| |||||||||||
Get the external link for the specified key with the specified parameters formatted into the link.
| |||||||||||
Get the external link for the specified key with the specified parameters formatted into the link.
| |||||||||||
Returns a
HelpUrl associated with the passed key. | |||||||||||
Return all the keys that have an associated
HelpUrl . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.util.BaseUrl
| |||||||||||
From interface
com.atlassian.jira.util.I18nHelper
|
Get a String
representation of an anchor tag with an internal link and link text. The internal link would
be the JIRA base url with the path of the specified key appended.
Example for default implementation:
#Config internal-help-paths.properties: app_access_local.path=/secure/admin/ApplicationAccess.jspa app_access_local.title=application.access.configuration.title #Config JiraWebActionSupport.properties: application.access.configuration.title=Application Access #Usage: messageUtil.getAnchorTagWithInternalLink("app_access_local"); #Result: Application access
keyOfLink | the key for the internal link to be appended with the base URL. |
---|
String
representation of an anchor tag with an internal link and link text.Returns a HelpUrl
that can be used for generic JIRA help. It commonly points at
the JIRA help index/landing page.
HelpUrl
for this instance.Get the external link for the specified key with the specified parameters formatted into the link.
key | of the external link. |
---|---|
value1 | first specified parameter. |
value2 | second specified parameter. |
value3 | third specified parameter. |
value4 | third specified parameter. |
Get the external link for the specified key.
key | of the external link. |
---|
Get the external link for the specified key with the specified parameters formatted into the link.
key | of the external link. |
---|---|
parameters | specified parameters, typically a List of parameters. |
Get the external link for the specified key with the specified parameter formatted into the link.
key | of the external link. |
---|---|
value1 | specified parameter. |
Get the external link for the specified key with the specified parameters formatted into the link.
key | of the external link. |
---|---|
value1 | first specified parameter. |
value2 | second specified parameter. |
Get the external link for the specified key with the specified parameters formatted into the link.
key | of the external link. |
---|---|
value1 | first specified parameter. |
value2 | second specified parameter. |
value3 | third specified parameter. |
Returns a HelpUrl
associated with the passed key. The getDefaultUrl()
URL is returned if the key
has no associated URL.
key | the key to search for. |
---|
HelpUrl
Return all the keys that have an associated HelpUrl
.
HelpUrl
.