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, andTrigger
s (or whateverDescribableList.buildDependencyGraph(hudson.model.AbstractProject, hudson.model.DependencyGraph)
is called on, byAbstractProject.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildDependencyGraph(AbstractProject owner, DependencyGraph graph)
Invoked fromAbstractProject.buildDependencyGraph(DependencyGraph)
.
-
-
-
Method Detail
-
buildDependencyGraph
void buildDependencyGraph(AbstractProject owner, DependencyGraph graph)
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.
-
-