public class LabelParser extends Object
Constructor and Description |
---|
LabelParser() |
Modifier and Type | Method and 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) |
public static boolean isValidLabelName(String name)
@NotNull public static @NotNull String replaceInvalidCharacters(@NotNull @NotNull String label, @NotNull @NotNull String replacement)
@NotNull public static @NotNull List<Label> extractLabelsFromLabellings(@Nullable @Nullable List<Labelling> labellings)
@NotNull public static @NotNull String renderLabels(@NotNull @NotNull Collection<Label> labels)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.