hudson.model
Class DependencyGraph.Dependency
java.lang.Object
hudson.model.DependencyGraph.Dependency
- Direct Known Subclasses:
- AbstractMavenProject.MavenModuleDependency
- Enclosing class:
- DependencyGraph
public static class DependencyGraph.Dependency
- extends Object
Represents an edge in the dependency graph.
- Since:
- 1.341
DependencyGraph.Dependency
public DependencyGraph.Dependency(AbstractProject upstream,
AbstractProject downstream)
getUpstreamProject
public AbstractProject getUpstreamProject()
getDownstreamProject
public AbstractProject getDownstreamProject()
shouldTriggerBuild
public boolean shouldTriggerBuild(AbstractBuild build,
TaskListener listener,
List<Action> actions)
- 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.
- 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
pointsItself
public boolean pointsItself()
- Does this method point to itself?
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2004-2013. All Rights Reserved.