Package hudson.model
Class DependencyGraph.Dependency
java.lang.Object
hudson.model.DependencyGraph.Dependency
- Enclosing class:
- DependencyGraph
Represents an edge in the dependency graph.
- Since:
- 1.341
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()booleanDoes this method point to itself?booleanshouldTriggerBuild(AbstractBuild build, TaskListener listener, List<Action> actions) Decide whether build should be triggered and provide any Actions for the build.toString()
- 
Constructor Details- 
Dependency
 
- 
- 
Method Details- 
getUpstreamProject
- 
getDownstreamProject
- 
shouldTriggerBuildDecide 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.The authentication in effect ( Jenkins.getAuthentication2()) will be that of the upstream build. An implementation is expected to perform any relevant access control checks: that an upstream project can both see and build a downstream project, or that a downstream project can see an upstream project.- 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
 
- 
pointsItselfpublic boolean pointsItself()Does this method point to itself?
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-