jetbrains.buildServer.serverSide.vcs
Interface VcsLabelingSettings

All Known Subinterfaces:
BuildTypeSettings, BuildTypeTemplate, RemoteBuildType, SBuildType

public interface VcsLabelingSettings


Nested Class Summary
static class VcsLabelingSettings.LabelingType
          Labeling mode
 
Field Summary
static java.lang.String DEFAULT_LABEL_PATTERN
          Default labeling pattern
 
Method Summary
 java.util.List<VcsRoot> getLabelingRoots()
          List of roots which should be processed by labeling process
 VcsLabelingSettings.LabelingType getLabelingType()
           
 java.lang.String getLabelPattern()
           
 java.util.Collection<VcsRoot> setLabelingRoots(java.util.List<VcsRoot> roots)
          Changes list of roots which should be processed while labeling process
 void setLabelingType(VcsLabelingSettings.LabelingType type)
          Changes labeling mode for the configuration
 void setLabelPattern(java.lang.String pattern)
          Changes label pattern
 

Field Detail

DEFAULT_LABEL_PATTERN

static final java.lang.String DEFAULT_LABEL_PATTERN
Default labeling pattern

See Also:
Constant Field Values
Method Detail

getLabelingType

@NotNull
VcsLabelingSettings.LabelingType getLabelingType()
Returns:
Returns labeling mode

getLabelPattern

@NotNull
java.lang.String getLabelPattern()
Returns:
Returns pattern to use for labeling

setLabelingType

void setLabelingType(@NotNull
                     VcsLabelingSettings.LabelingType type)
Changes labeling mode for the configuration

Parameters:
type - new labeling mode

setLabelPattern

void setLabelPattern(@NotNull
                     java.lang.String pattern)
Changes label pattern

Parameters:
pattern - label pattern

getLabelingRoots

@NotNull
java.util.List<VcsRoot> getLabelingRoots()
List of roots which should be processed by labeling process

Returns:
list of up-to-date vcs roots

setLabelingRoots

@NotNull
java.util.Collection<VcsRoot> setLabelingRoots(@NotNull
                                                       java.util.List<VcsRoot> roots)
Changes list of roots which should be processed while labeling process

Parameters:
roots - new roots to be labeled
Returns:
returns collection of VCS roots for which labeling was enabled, this collection can be smaller than the passed via argument