Class DependencyCollector
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.DependencyCollector
-
public class DependencyCollector extends Object
Collects dependencies from the chain of build configurations
-
-
Constructor Summary
Constructors Constructor Description DependencyCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SBuildType>getDependencies(DependencySettings dependencySettings)Returns build type dependencies sorted by distance from the specifieddependencySettingsList<SBuildType>getDependentBuildTypes(SBuildType buildType)Returns build types referencing (including transitive references) specifiedbuildTypesorted by distance from the specifiedbuildType.voidtraverseDependencies(DependencySettings startFrom, DependencyConsumer<BuildTypeEx> dependencyConsumer)Traverses all build types dependencies transitively.voidtraverseDependentBuildTypes(BuildTypeEx buildType, DependencyConsumer<BuildTypeEx> dependencyConsumer)Traverses build types depending on the specified build type directly or transitively.voidtraverseDependentBuildTypes(BuildTypeEx buildType, DependencyConsumer<BuildTypeEx> dependencyConsumer, BiPredicate<SBuildType,DependencyOptions> filter)Traverses build types depending on the specified build type directly or transitively.
-
-
-
Method Detail
-
getDependencies
@NotNull public List<SBuildType> getDependencies(@NotNull DependencySettings dependencySettings)
Returns build type dependencies sorted by distance from the specifieddependencySettings
-
getDependentBuildTypes
@NotNull public List<SBuildType> getDependentBuildTypes(@NotNull SBuildType buildType)
Returns build types referencing (including transitive references) specifiedbuildTypesorted by distance from the specifiedbuildType.
-
traverseDependentBuildTypes
public void traverseDependentBuildTypes(@NotNull BuildTypeEx buildType, @NotNull DependencyConsumer<BuildTypeEx> dependencyConsumer)Traverses build types depending on the specified build type directly or transitively.
-
traverseDependentBuildTypes
public void traverseDependentBuildTypes(@NotNull BuildTypeEx buildType, @NotNull DependencyConsumer<BuildTypeEx> dependencyConsumer, @NotNull BiPredicate<SBuildType,DependencyOptions> filter)Traverses build types depending on the specified build type directly or transitively.
-
traverseDependencies
public void traverseDependencies(@NotNull DependencySettings startFrom, @NotNull DependencyConsumer<BuildTypeEx> dependencyConsumer)Traverses all build types dependencies transitively.
-
-