public abstract class DownstreamBuildFinder extends Object implements ExtensionPoint
getDownstreamBuilds(hudson.model.Run)
in a way suitable for the pluginExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
protected static List<Run<?,?>> |
EMPTY
No need to create a new empty list each time there is nothing to return.
|
Constructor and Description |
---|
DownstreamBuildFinder() |
Modifier and Type | Method and Description |
---|---|
static ExtensionList<DownstreamBuildFinder> |
getAll()
Return a list of all registered DownstreamBuildFinder of this type.
|
List<Run<?,?>> |
getDownstreamBuilds(AbstractBuild build)
Deprecated.
|
List<Run<?,?>> |
getDownstreamBuilds(Run build)
Return a list of all downstream builds originating from provided build.
|
@Deprecated public List<Run<?,?>> getDownstreamBuilds(AbstractBuild build)
getDownstreamBuilds(hudson.model.Run)
build
- get the downstream build(s) relative this buildpublic List<Run<?,?>> getDownstreamBuilds(Run build)
build
- get the downstream build(s) relative this buildpublic static ExtensionList<DownstreamBuildFinder> getAll()
Copyright © 2016–2021. All rights reserved.