Class DownstreamBuildFinder

    • Field Detail

      • EMPTY

        protected static final List<Run<?,​?>> EMPTY
        No need to create a new empty list each time there is nothing to return. Make it unmodifiable to make sure it isn't used.
    • Constructor Detail

      • DownstreamBuildFinder

        public DownstreamBuildFinder()
    • Method Detail

      • getDownstreamBuilds

        public List<Run<?,​?>> getDownstreamBuilds​(Run build)
        Return a list of all downstream builds originating from provided build.
        Parameters:
        build - get the downstream build(s) relative this build
        Returns:
        a list with downstream builds
      • getAll

        public static ExtensionList<DownstreamBuildFinder> getAll()
        Return a list of all registered DownstreamBuildFinder of this type.
        Returns:
        a list of DownstreamBuildFinder