Class DependencyCollector


  • public class DependencyCollector
    extends Object
    Collects dependencies from the chain of build configurations
    • Constructor Detail

      • DependencyCollector

        public DependencyCollector()
    • Method Detail

      • getDependencies

        @NotNull
        public List<SBuildType> getDependencies​(@NotNull
                                                DependencySettings dependencySettings)
        Returns build type dependencies sorted by distance from the specified dependencySettings
      • getDependentBuildTypes

        @NotNull
        public List<SBuildType> getDependentBuildTypes​(@NotNull
                                                       SBuildType buildType)
        Returns build types referencing (including transitive references) specified buildType sorted by distance from the specified buildType.
      • traverseDependentBuildTypes

        public void traverseDependentBuildTypes​(@NotNull
                                                BuildTypeEx buildType,
                                                @NotNull
                                                DependencyConsumer<BuildTypeEx> dependencyConsumer)
        Traverses build types depending on the specified build type directly or transitively.