|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VcsLabelManager
Updates and provides information about vcs labels made by TeamCity
| Method Summary | |
|---|---|
java.util.List<VcsLabel> |
getLabels(Build build)
Returns all labels for the gixen build |
java.lang.String |
getLabelText(SBuild build)
Returns label text for the build. |
boolean |
isLabelingSupported(SBuild build,
VcsRootInstance root)
Returns if it is possible to label the given build on the given vcs root. |
void |
setLabel(SBuild build,
java.lang.String labelValue,
java.util.List<VcsRootInstance> rootsToLabel)
Sets label for the specified build on the specified vcs roots. |
| Method Detail |
|---|
@NotNull
java.util.List<VcsLabel> getLabels(@NotNull
Build build)
build - specified build instance.
java.lang.String getLabelText(@NotNull
SBuild build)
throws ParametersResolvingFailedException
build - specified build.
ParametersResolvingFailedException - if label contains references to parameters for which values cannot be found
void setLabel(@NotNull
SBuild build,
@NotNull
java.lang.String labelValue,
@NotNull
java.util.List<VcsRootInstance> rootsToLabel)
throws VcsException
build - specified build.labelValue - specified label text.rootsToLabel - roots to label list.
VcsException - problem to set label in version control.
boolean isLabelingSupported(@NotNull
SBuild build,
@NotNull
VcsRootInstance root)
build - specified build.root - specified root.
true if the root supports labeling and revision of the root fpr the build is not a null,
false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||