Package com.atlassian.bamboo.labels
Class LabelParser
- java.lang.Object
-
- com.atlassian.bamboo.labels.LabelParser
-
public class LabelParser extends Object
-
-
Constructor Summary
Constructors Constructor Description LabelParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull List<Label>
extractLabelsFromLabellings(@Nullable List<Labelling> labellings)
static String
getFirstInvalidLabelCharacter(String name)
static boolean
isValidLabelName(String name)
static @NotNull String
renderLabels(@NotNull Collection<Label> labels)
static @NotNull String
replaceInvalidCharacters(@NotNull String label, @NotNull String replacement)
static @NotNull List<String>
split(String input)
-
-
-
Method Detail
-
isValidLabelName
public static boolean isValidLabelName(String name)
-
replaceInvalidCharacters
@NotNull public static @NotNull String replaceInvalidCharacters(@NotNull @NotNull String label, @NotNull @NotNull String replacement)
-
extractLabelsFromLabellings
@NotNull public static @NotNull List<Label> extractLabelsFromLabellings(@Nullable @Nullable List<Labelling> labellings)
-
renderLabels
@NotNull public static @NotNull String renderLabels(@NotNull @NotNull Collection<Label> labels)
-
-