Class LabelParser

java.lang.Object
com.atlassian.bamboo.labels.LabelParser

public class LabelParser extends Object
  • Constructor Details

    • LabelParser

      public LabelParser()
  • Method Details

    • isValidLabelName

      public static boolean isValidLabelName(String name)
    • getFirstInvalidLabelCharacter

      public static String getFirstInvalidLabelCharacter(String name)
    • split

      @NotNull public static @NotNull List<String> split(String input)
    • 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)