Class CommonBranchSpec
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.CommonBranchSpec
-
public class CommonBranchSpec extends Object
-
-
Constructor Summary
Constructors Constructor Description CommonBranchSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryState
apply(Map<? extends LVcsRootInstanceHolder,BranchSpec> buildTypeBranchSpecs, LVcsRootInstance root, RepositoryState state, Collection<BranchSpec> settingsBranchSpecs)
Returns repository state containing branches matched at least one provided branch spec of given VCS root or any of the settings branch specs + additional branches matched by extensionsRepositoryState
filterStateForChangesCollecting(Set<? extends LVcsRootInstanceHolder> buildTypes, LVcsRootInstance root, RepositoryState state, Collection<BranchSpec> settingsBranchSpecs)
Returns repository state containing branches matched at least by one current branch spec of given VCS root in the specified build types or any of the settings branch spec + additional branches for changes collecting from extensions
-
-
-
Method Detail
-
filterStateForChangesCollecting
@NotNull public RepositoryState filterStateForChangesCollecting(@NotNull Set<? extends LVcsRootInstanceHolder> buildTypes, @NotNull LVcsRootInstance root, @NotNull RepositoryState state, @NotNull Collection<BranchSpec> settingsBranchSpecs)
Returns repository state containing branches matched at least by one current branch spec of given VCS root in the specified build types or any of the settings branch spec + additional branches for changes collecting from extensions- Parameters:
buildTypes
- buildTypes of interestroot
- VCS root of intereststate
- repository state to filtersettingsBranchSpecs
- branch specs for the specified VSC root if it is used for storing versioned settings- Returns:
- see above
-
apply
@NotNull public RepositoryState apply(@NotNull Map<? extends LVcsRootInstanceHolder,BranchSpec> buildTypeBranchSpecs, @NotNull LVcsRootInstance root, @NotNull RepositoryState state, @NotNull Collection<BranchSpec> settingsBranchSpecs)
Returns repository state containing branches matched at least one provided branch spec of given VCS root or any of the settings branch specs + additional branches matched by extensions- Parameters:
buildTypeBranchSpecs
- map of branch specs to use instead of current branch specroot
- VCS root of intereststate
- repository state to filtersettingsBranchSpecs
- branch specs for the specified VSC root if it is used for storing versioned settings- Returns:
- see above
-
-