Package com.atlassian.jira.web.util
Class HelpUtil
java.lang.Object
com.atlassian.jira.web.util.HelpUtil
Deprecated.
Utility bean class for building links to JIRA help pages. This bean is now a fly-weight that delegates
most of its functionality off to
HelpUrls
.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHelpUtil()
Deprecated.since v6.2.4: Inject an instance ofHelpUrls
to access JIRA's help.Deprecated.since v6.2.4: Inject aHelpUrlsParser
and use itsHelpUrlsParser.parse(java.util.Properties, java.util.Properties)
method.HelpUtil
(Properties properties) Deprecated.since v6.2.4: Inject aHelpUrlsParser
and use itsHelpUrlsParser.parse(java.util.Properties)
method. -
Method Summary
Modifier and TypeMethodDescriptiongetHelpPath
(String helpPathKey) Deprecated.Returns theHelpUtil.HelpPath
object for a given key.static HelpUtil
Deprecated.since v6.2.4: Inject an instance ofHelpUrls
to access JIRA's help.keySet()
Deprecated.
-
Constructor Details
-
HelpUtil
Deprecated.since v6.2.4: Inject an instance ofHelpUrls
to access JIRA's help.Returns aHelpUtil
for JIRA's help URLs. -
HelpUtil
Deprecated.since v6.2.4: Inject aHelpUrlsParser
and use itsHelpUrlsParser.parse(java.util.Properties)
method.Return aHelpUtil
representation of the passed properties. SeeHelpUrlsParser
for information of the format of the passed properties.- Parameters:
properties
- properties.
-
HelpUtil
Deprecated.since v6.2.4: Inject aHelpUrlsParser
and use itsHelpUrlsParser.parse(java.util.Properties, java.util.Properties)
method.This method is really only useful internally to JIRA.
-
-
Method Details
-
getInstance
Deprecated.since v6.2.4: Inject an instance ofHelpUrls
to access JIRA's help.Returns aHelpUtil
for the current user.- Returns:
- a
HelpUtil
instance for the current user.
-
getHelpPath
Deprecated.Returns theHelpUtil.HelpPath
object for a given key.- Parameters:
helpPathKey
- the key in play- Returns:
- the
HelpUtil.HelpPath
for that key or defaultHelpPath if it cant be found.
-
keySet
Deprecated.- Returns:
- a set of all the keys that have
HelpUtil.HelpPath
values
-
HelpUrls
when you would have calledgetInstance()
orHelpUtil()
. It contains all of JIRA's help URLs and will adapt itself internally for the current user.HelpUrlsParser
when you would have calledHelpUtil(java.util.Properties)
.HelpUrlsParser.parse(java.util.Properties)
can be used to generate to generate aHelpUrls
from a plugin providedProperties
instance.