au.com.centrumsystems.hudson.plugin.buildpipeline.trigger
Class DownstreamDependency

java.lang.Object
  extended by hudson.model.DependencyGraph.Dependency
      extended by au.com.centrumsystems.hudson.plugin.buildpipeline.trigger.DownstreamDependency

public class DownstreamDependency
extends hudson.model.DependencyGraph.Dependency

Defines downstream dependency for the build pipeline trigger

Author:
Centrum Systems

Constructor Summary
DownstreamDependency(hudson.model.AbstractProject<?,?> upstream, hudson.model.AbstractProject<?,?> downstream)
          Downstream Dependency
 
Method Summary
 boolean shouldTriggerBuild(hudson.model.AbstractBuild build, hudson.model.TaskListener listener, List<hudson.model.Action> actions)
          
 
Methods inherited from class hudson.model.DependencyGraph.Dependency
equals, getDownstreamProject, getUpstreamProject, hashCode, pointsItself
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownstreamDependency

public DownstreamDependency(hudson.model.AbstractProject<?,?> upstream,
                            hudson.model.AbstractProject<?,?> downstream)
Downstream Dependency

Parameters:
upstream - the upstream job
downstream - the downstream job
Method Detail

shouldTriggerBuild

public boolean shouldTriggerBuild(hudson.model.AbstractBuild build,
                                  hudson.model.TaskListener listener,
                                  List<hudson.model.Action> actions)

Overrides:
shouldTriggerBuild in class hudson.model.DependencyGraph.Dependency


Copyright © 2004-2014. All Rights Reserved.