public class WebComponentUtils extends Object
| Constructor and Description |
|---|
WebComponentUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<String> |
convertStringToCollection(String s)
Converts a string of comma-separated values to a collection of those values
|
static Collection<String> |
getRemovalValues(Map<String,?> params,
String paramPrefix)
Picks up all keys that start with paramPrefix.
|
public static Collection<String> convertStringToCollection(String s)
s - string to convertpublic static Collection<String> getRemovalValues(Map<String,?> params, String paramPrefix)
For example, when params map contains a 'removegroups_jira-users' key, the returned collection will contain 'jira-users' string.
params - map of parameters - name-value pairsparamPrefix - parameter name prefixCopyright © 2002-2023 Atlassian. All Rights Reserved.