hudson.maven
Class AbstractMavenProject.MavenModuleDependency

java.lang.Object
  extended by hudson.model.DependencyGraph.Dependency
      extended by hudson.maven.AbstractMavenProject.MavenModuleDependency
Enclosing class:
AbstractMavenProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>

protected static class AbstractMavenProject.MavenModuleDependency
extends DependencyGraph.Dependency


Constructor Summary
AbstractMavenProject.MavenModuleDependency(AbstractMavenProject<?,?> upstream, AbstractProject<?,?> downstream)
           
 
Method Summary
 boolean shouldTriggerBuild(AbstractBuild build, TaskListener listener, List<Action> actions)
          Decide whether build should be triggered and provide any Actions for the build.
 
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

AbstractMavenProject.MavenModuleDependency

public AbstractMavenProject.MavenModuleDependency(AbstractMavenProject<?,?> upstream,
                                                  AbstractProject<?,?> downstream)
Method Detail

shouldTriggerBuild

public boolean shouldTriggerBuild(AbstractBuild build,
                                  TaskListener listener,
                                  List<Action> actions)
Description copied from class: DependencyGraph.Dependency
Decide whether build should be triggered and provide any Actions for the build. Default implementation always returns true (for backward compatibility), and adds no Actions. Subclasses may override to control how/if the build is triggered.

Overrides:
shouldTriggerBuild in class DependencyGraph.Dependency
Parameters:
build - Build of upstream project that just completed
listener - For any error/log output
actions - Add Actions for the triggered build to this list; never null
Returns:
True to trigger a build of the downstream project


Copyright © 2004-2013. All Rights Reserved.