hudson.maven
Class AbstractMavenProject.MavenModuleDependency
java.lang.Object
hudson.model.DependencyGraph.Dependency
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
AbstractMavenProject.MavenModuleDependency
public AbstractMavenProject.MavenModuleDependency(AbstractMavenProject<?,?> upstream,
AbstractProject<?,?> downstream)
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 completedlistener
- For any error/log outputactions
- 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.