Class ConditionalDependencyGraphWrapper
java.lang.Object
hudson.model.DependencyGraph
org.jenkinsci.plugins.conditionalbuildstep.dependency.ConditionalDependencyGraphWrapper
- All Implemented Interfaces:
Comparator<AbstractProject>
Wraps
DependencyGraph
and append RunCondition
to DependencyGraph.Dependency
.
Methods other than addDependency are just calling methods of wrapped DependencyGraph
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.DependencyGraph
DependencyGraph.Dependency
-
Field Summary
Fields inherited from class hudson.model.DependencyGraph
EMPTY
-
Constructor Summary
ConstructorsConstructorDescriptionConditionalDependencyGraphWrapper
(DependencyGraph graph, org.jenkins_ci.plugins.run_condition.RunCondition condition, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add dependency.void
build()
int
compare
(AbstractProject o1, AbstractProject o2) <T> T
getComputationalData
(Class<T> key) boolean
<T> void
putComputationalData
(Class<T> key, T value) Methods inherited from class hudson.model.DependencyGraph
addDependency, addDependency, addDependency, addDependencyDeclarers, getTopologicallySorted
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ConditionalDependencyGraphWrapper
public ConditionalDependencyGraphWrapper(DependencyGraph graph, org.jenkins_ci.plugins.run_condition.RunCondition condition, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner)
-
-
Method Details
-
addDependency
Add dependency.RunCondition
will be attached.- Overrides:
addDependency
in classDependencyGraph
- See Also:
-
build
public void build()- Overrides:
build
in classDependencyGraph
-
compare
- Specified by:
compare
in interfaceComparator<AbstractProject>
- Overrides:
compare
in classDependencyGraph
-
getComputationalData
- Overrides:
getComputationalData
in classDependencyGraph
-
getDownstream
- Overrides:
getDownstream
in classDependencyGraph
-
getDownstreamDependencies
- Overrides:
getDownstreamDependencies
in classDependencyGraph
-
getTransitiveDownstream
- Overrides:
getTransitiveDownstream
in classDependencyGraph
-
getTransitiveUpstream
- Overrides:
getTransitiveUpstream
in classDependencyGraph
-
getUpstream
- Overrides:
getUpstream
in classDependencyGraph
-
getUpstreamDependencies
- Overrides:
getUpstreamDependencies
in classDependencyGraph
-
hasIndirectDependencies
- Overrides:
hasIndirectDependencies
in classDependencyGraph
-
putComputationalData
- Overrides:
putComputationalData
in classDependencyGraph
-