Package jenkins.model
Interface DependencyDeclarer
- All Known Subinterfaces:
DependecyDeclarer
- All Known Implementing Classes:
BuildTrigger
,Fingerprinter
,ReverseBuildTrigger
public interface DependencyDeclarer
Marker interface for project-associated objects that can participate
in the dependency graph computation process.
Publisher
s, Builder
s, BuildWrapper
s, and Trigger
s
(or whatever DescribableList.buildDependencyGraph(hudson.model.AbstractProject, hudson.model.DependencyGraph)
is called on, by AbstractProject.buildDependencyGraph(hudson.model.DependencyGraph)
)
can implement this interface to add additional edges to the dependency graph.
- Since:
- 1.501
- Author:
- Nicolas Lalevee, Martin Ficker, Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildDependencyGraph
(AbstractProject owner, DependencyGraph graph) Invoked fromAbstractProject.buildDependencyGraph(DependencyGraph)
.
-
Method Details
-
buildDependencyGraph
Invoked fromAbstractProject.buildDependencyGraph(DependencyGraph)
.- Parameters:
owner
- The project that owns the publishers, builders, etc. This information is conceptually redundant, as those objects are only configured against the single owner, but this information is nevertheless passed in since often owner information is not recorded. Never null.graph
- The dependency graph being built. Never null.
-