Class BranchStateCalculator
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.BranchStateCalculator
-
public class BranchStateCalculator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BranchStateCalculator.BranchState
-
Constructor Summary
Constructors Constructor Description BranchStateCalculator(Branch branch, SBuildType buildType, TimeService timeService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allChangesFromFallbackDefaultBranches(Map<VcsRootInstance,List<BranchSpec>> currentBranchSpecs, List<SVcsModification> pendingChangesInBranch)
static Map<VcsRootInstance,String>
computeVcsBranchNames(Branch branch, Map<VcsRootInstance,List<BranchSpec>> currentBranchSpecs)
BranchStateCalculator.BranchState
getBranchState(Map<VcsRootInstance,List<BranchSpec>> currentBranchSpecs, List<SVcsModification> pendingChangesInBranch, Logger logger)
static Map<VcsRootInstance,List<BranchSpec>>
getCurrentBranchSpecs(SBuildType buildType, boolean includeDependencies)
-
-
-
Constructor Detail
-
BranchStateCalculator
public BranchStateCalculator(@NotNull Branch branch, @NotNull SBuildType buildType, @NotNull TimeService timeService)
-
-
Method Detail
-
getBranchState
@NotNull public BranchStateCalculator.BranchState getBranchState(@NotNull Map<VcsRootInstance,List<BranchSpec>> currentBranchSpecs, @NotNull List<SVcsModification> pendingChangesInBranch, @NotNull Logger logger)
-
allChangesFromFallbackDefaultBranches
public boolean allChangesFromFallbackDefaultBranches(@NotNull Map<VcsRootInstance,List<BranchSpec>> currentBranchSpecs, @NotNull List<SVcsModification> pendingChangesInBranch)
-
computeVcsBranchNames
@NotNull public static Map<VcsRootInstance,String> computeVcsBranchNames(@NotNull Branch branch, @NotNull Map<VcsRootInstance,List<BranchSpec>> currentBranchSpecs)
-
getCurrentBranchSpecs
@NotNull public static Map<VcsRootInstance,List<BranchSpec>> getCurrentBranchSpecs(@NotNull SBuildType buildType, boolean includeDependencies)
-
-