Class DownstreamDependency
- java.lang.Object
-
- hudson.model.DependencyGraph.Dependency
-
- au.com.centrumsystems.hudson.plugin.buildpipeline.trigger.DownstreamDependency
-
public class DownstreamDependency extends DependencyGraph.Dependency
Defines downstream dependency for the build pipeline trigger- Author:
- Centrum Systems
-
-
Constructor Summary
Constructors Constructor Description DownstreamDependency(AbstractProject<?,?> upstream, AbstractProject<?,?> downstream)Downstream Dependency
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldTriggerBuild(AbstractBuild build, TaskListener listener, List<Action> actions)-
Methods inherited from class hudson.model.DependencyGraph.Dependency
equals, getDownstreamProject, getUpstreamProject, hashCode, pointsItself, toString
-
-
-
-
Constructor Detail
-
DownstreamDependency
public DownstreamDependency(AbstractProject<?,?> upstream, AbstractProject<?,?> downstream)
Downstream Dependency- Parameters:
upstream- the upstream jobdownstream- the downstream job
-
-
Method Detail
-
shouldTriggerBuild
public boolean shouldTriggerBuild(AbstractBuild build, TaskListener listener, List<Action> actions)
- Overrides:
shouldTriggerBuildin classDependencyGraph.Dependency
-
-