Class DownstreamBuildFinder
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.model.dbf.DownstreamBuildFinder
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
BuildCacheDBF
,CoreDBF
,ParameterizedTriggerDBF
public abstract class DownstreamBuildFinder extends Object implements ExtensionPoint
There is no general way to find downstream build in Jenkins Core. Different plugin have there own way of keeping this information. Extend this class and implementgetDownstreamBuilds(hudson.model.Run)
in a way suitable for the plugin- Author:
- Jan-Olof Sivtoft
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DownstreamBuildFinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getDownstreamBuilds
@Deprecated public List<Run<?,?>> getDownstreamBuilds(AbstractBuild build)
Deprecated.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
-
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
-
-