jetbrains.buildServer.vcs
Interface LabelingSupport


public interface LabelingSupport

To offer a labeling for a VCS support the developer must implement this interface.


Method Summary
 java.lang.String label(java.lang.String label, java.lang.String version, VcsRoot root, CheckoutRules checkoutRules)
          Labels sources for geven revision and settings.
 

Method Detail

label

java.lang.String label(@NotNull
                       java.lang.String label,
                       @NotNull
                       java.lang.String version,
                       @NotNull
                       VcsRoot root,
                       @NotNull
                       CheckoutRules checkoutRules)
                       throws VcsException
Labels sources for geven revision and settings. Returns actual label

Parameters:
label - actual set label
version - repository version
root - versioned root
checkoutRules - build checkout rules
Returns:
actually set label
Throws:
VcsException - throw exception if label was not set because of some reasons.