public class LabelParser extends Object
Constructor and Description |
---|
LabelParser() |
Modifier and Type | Method and Description |
---|---|
static List<Label> |
extractLabelsFromLabellings(List<Labelling> labellings) |
static String |
getFirstInvalidLabelCharacter(String name) |
static String |
getInvalidCharactersAsString()
Deprecated.
since 4.3
|
static boolean |
isValidLabelName(String name) |
static String |
renderLabels(Collection<Label> labels) |
static String |
replaceInvalidCharacters(String label,
String replacement) |
static List<String> |
split(String input) |
public static boolean isValidLabelName(String name)
@NotNull public static String replaceInvalidCharacters(@NotNull String label, @NotNull String replacement)
@NotNull public static List<Label> extractLabelsFromLabellings(@Nullable List<Labelling> labellings)
@NotNull public static String renderLabels(@NotNull Collection<Label> labels)
@NotNull @Deprecated public static String getInvalidCharactersAsString()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.