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 ofHelpUrlsto access JIRA's help.Deprecated.since v6.2.4: Inject aHelpUrlsParserand use itsHelpUrlsParser.parse(java.util.Properties, java.util.Properties)method.HelpUtil(Properties properties) Deprecated.since v6.2.4: Inject aHelpUrlsParserand use itsHelpUrlsParser.parse(java.util.Properties)method. -
Method Summary
Modifier and TypeMethodDescriptiongetHelpPath(String helpPathKey) Deprecated.Returns theHelpUtil.HelpPathobject for a given key.static HelpUtilDeprecated.since v6.2.4: Inject an instance ofHelpUrlsto access JIRA's help.keySet()Deprecated.
-
Constructor Details
-
HelpUtil
Deprecated.since v6.2.4: Inject an instance ofHelpUrlsto access JIRA's help.Returns aHelpUtilfor JIRA's help URLs. -
HelpUtil
Deprecated.since v6.2.4: Inject aHelpUrlsParserand use itsHelpUrlsParser.parse(java.util.Properties)method.Return aHelpUtilrepresentation of the passed properties. SeeHelpUrlsParserfor information of the format of the passed properties.- Parameters:
properties- properties.
-
HelpUtil
Deprecated.since v6.2.4: Inject aHelpUrlsParserand 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 ofHelpUrlsto access JIRA's help.Returns aHelpUtilfor the current user.- Returns:
- a
HelpUtilinstance for the current user.
-
getHelpPath
Deprecated.Returns theHelpUtil.HelpPathobject for a given key.- Parameters:
helpPathKey- the key in play- Returns:
- the
HelpUtil.HelpPathfor that key or defaultHelpPath if it cant be found.
-
keySet
Deprecated.- Returns:
- a set of all the keys that have
HelpUtil.HelpPathvalues
-
HelpUrlswhen you would have calledgetInstance()orHelpUtil(). It contains all of JIRA's help URLs and will adapt itself internally for the current user.HelpUrlsParserwhen you would have calledHelpUtil(java.util.Properties).HelpUrlsParser.parse(java.util.Properties)can be used to generate to generate aHelpUrlsfrom a plugin providedPropertiesinstance.