Class ParameterizedTriggerDBF
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.model.dbf.DownstreamBuildFinder
-
- com.sonyericsson.jenkins.plugins.bfa.model.dbf.ParameterizedTriggerDBF
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class ParameterizedTriggerDBF extends DownstreamBuildFinder
Get downstream builds for the Parameterized Trigger Plugin. We want to avoid having dependencies to other plugins thus using reflection.- Author:
- Jan-Olof Sivtoft
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class com.sonyericsson.jenkins.plugins.bfa.model.dbf.DownstreamBuildFinder
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ParameterizedTriggerDBF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Run<?,?>>
getDownstreamBuilds(Run build)
Return a list of all downstream builds originating from provided build.-
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.model.dbf.DownstreamBuildFinder
getAll, getDownstreamBuilds
-
-
-
-
Method Detail
-
getDownstreamBuilds
public List<Run<?,?>> getDownstreamBuilds(Run build)
Return a list of all downstream builds originating from provided build. Getting build originating from the usage of the parameterized trigger plugin.- Overrides:
getDownstreamBuilds
in classDownstreamBuildFinder
- Parameters:
build
- get the downstream build(s) relative this build- Returns:
- a list with downstream builds
-
-