Package com.atlassian.jira.web.component
Class WebComponentUtils
java.lang.Object
com.atlassian.jira.web.component.WebComponentUtils
This class contains a collection of utility methods used by web components
- Since:
- v3.12.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<String> Converts a string of comma-separated values to a collection of those valuesstatic Collection<String> getRemovalValues(Map<String, ?> params, String paramPrefix) Picks up all keys that start with paramPrefix.
-
Constructor Details
-
WebComponentUtils
public WebComponentUtils()
-
-
Method Details
-
convertStringToCollection
Converts a string of comma-separated values to a collection of those values- Parameters:
s- string to convert- Returns:
- a collection of String values, never null
-
getRemovalValues
Picks up all keys that start with paramPrefix.For example, when params map contains a 'removegroups_jira-users' key, the returned collection will contain 'jira-users' string.
- Parameters:
params- map of parameters - name-value pairsparamPrefix- parameter name prefix- Returns:
- a collection of
-