hudson.ivy
Class IvyVirtualDependency

java.lang.Object
  extended by hudson.model.DependencyGraph.Dependency
      extended by hudson.ivy.IvyDependency
          extended by hudson.ivy.IvyVirtualDependency

public class IvyVirtualDependency
extends IvyDependency

Represents a dependency that never triggers a downstream build. Used to represent the association between an Ivy Project configured to build its modules as separate jobs and downstream projects depending on its modules. This is required to make downstream projects behave properly when they have their "Block build when upstream project is building" option enabled.

Author:
tbingaman

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

Constructor Detail

IvyVirtualDependency

public IvyVirtualDependency(hudson.model.AbstractProject<?,?> upstream,
                            hudson.model.AbstractProject<?,?> downstream)
Method Detail

shouldTriggerBuild

public boolean shouldTriggerBuild(hudson.model.AbstractBuild build,
                                  hudson.model.TaskListener listener,
                                  java.util.List<hudson.model.Action> actions)
Overrides:
shouldTriggerBuild in class hudson.model.DependencyGraph.Dependency


Copyright © 2010. All Rights Reserved.