com.atlassian.bamboo.labels
Class LabelParser

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

public class LabelParser
extends java.lang.Object


Constructor Summary
LabelParser()
           
 
Method Summary
static java.util.List<Label> extractLabelsFromLabellings(java.util.List<Labelling> labellings)
           
static java.lang.String getFirstInvalidLabelCharacter(java.lang.String name)
           
static java.lang.String getInvalidCharactersAsString()
          Deprecated. 
static boolean isValidLabelName(java.lang.String name)
           
static java.lang.String renderLabels(java.util.Collection<Label> labels)
           
static java.lang.String replaceInvalidCharacters(java.lang.String label, java.lang.String replacement)
           
static java.util.List<java.lang.String> split(java.lang.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(java.lang.String name)

getFirstInvalidLabelCharacter

public static java.lang.String getFirstInvalidLabelCharacter(java.lang.String name)

split

@NotNull
public static java.util.List<java.lang.String> split(java.lang.String input)

replaceInvalidCharacters

@NotNull
public static java.lang.String replaceInvalidCharacters(@NotNull
                                                                java.lang.String label,
                                                                @NotNull
                                                                java.lang.String replacement)

extractLabelsFromLabellings

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

renderLabels

@NotNull
public static java.lang.String renderLabels(@NotNull
                                                    java.util.Collection<Label> labels)

getInvalidCharactersAsString

@NotNull
@Deprecated
public static java.lang.String getInvalidCharactersAsString()
Deprecated. 



Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.