Package jenkins.util
Class PluginLabelUtil
- java.lang.Object
-
- jenkins.util.PluginLabelUtil
-
public class PluginLabelUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description PluginLabelUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]
canonicalLabels(net.sf.json.JSONArray labels)
Replaces labels with their canonical form and removes duplicates
-
-
-
Method Detail
-
canonicalLabels
public static String[] canonicalLabels(net.sf.json.JSONArray labels)
Replaces labels with their canonical form and removes duplicates- Parameters:
labels
- labels array- Returns:
- unique canonical labels
-
-