com.atlassian.bamboo.labels
Class LabelParser

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

public class LabelParser
extends Object


Constructor Summary
LabelParser()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelParser

public LabelParser()
Method Detail

isValidLabelName

public static boolean isValidLabelName(String name)

getFirstInvalidLabelCharacter

public static String getFirstInvalidLabelCharacter(String name)

split

@NotNull
public static List<String> split(String input)

replaceInvalidCharacters

@NotNull
public static String replaceInvalidCharacters(@NotNull
                                                      String label,
                                                      @NotNull
                                                      String replacement)

extractLabelsFromLabellings

@NotNull
public static List<Label> extractLabelsFromLabellings(@Nullable
                                                              List<Labelling> labellings)

renderLabels

@NotNull
public static String renderLabels(@NotNull
                                          Collection<Label> labels)

getInvalidCharactersAsString

@NotNull
@Deprecated
public static String getInvalidCharactersAsString()
Deprecated. since 4.3



Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.