java.lang.Object | |
↳ | com.atlassian.jira.help.MockHelpUrlsParser |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new parser that will use the passed URL (title) in URLs that don't have a URL (title) set.
| |||||||||||
Returns a new parser that will either use or ignore
.ondemand properties. | |||||||||||
Parse the passed properties and return an equivalent
HelpUrls instance. | |||||||||||
Parse the passed properties and return an equivalent
HelpUrls instance. | |||||||||||
Parse the passed properties and return an equivalent
HelpUrls instance. | |||||||||||
Parse two passed maps with user and admin properties and return an equivalent
HelpUrls instance. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.help.HelpUrlsParser
|
Returns a new parser that will use the passed URL (title) in URLs that don't have a URL (title) set. It is possible for the parser to ignore these values if the input name-value pairs during a parse have their own configured default.
url | the default URL. |
---|---|
title | the default title of the URL. |
HelpUrl
configured.Returns a new parser that will either use or ignore .ondemand
properties.
onDemand | true if the parser should use .ondemand properties, or false if they
should be ignored. |
---|
.ondemand
propertiesParse the passed properties and return an equivalent HelpUrls
instance.
properties | the properties to parse. |
---|
HelpUrls
representation of the passed properties.
Parse the passed properties and return an equivalent HelpUrls
instance.
properties | the properties to parse. |
---|
HelpUrls
representation of the passed properties.
Parse the passed properties and return an equivalent HelpUrls
instance.
This method should not be called by plugins as the format of internalProperties
is not documented
and is subject to change.
externalProperties | the properties to parse. |
---|---|
internalProperties | the internal properties to parse. These properties follow a different format to the that documented on this interface and should only be used by JIRA internally. |
HelpUrls
representation of the passed properties.
Parse two passed maps with user and admin properties and return an equivalent HelpUrls
instance. Default
url will be read from the first map. Any other entries existing in both maps will be overwritten by entries from
second (admin properties) map.
userProperties | map containing user properties |
---|---|
adminProperties | map containing admin properties |
HelpUrls
representation of the passed properties.