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 TypeMethodDescriptionvoidAdd dependency.voidbuild()intcompare(AbstractProject o1, AbstractProject o2) <T> TgetComputationalData(Class<T> key) boolean<T> voidputComputationalData(Class<T> key, T value) Methods inherited from class hudson.model.DependencyGraph
addDependency, addDependency, addDependency, addDependencyDeclarers, getTopologicallySortedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.RunConditionwill be attached.- Overrides:
addDependencyin classDependencyGraph- See Also:
-
build
public void build()- Overrides:
buildin classDependencyGraph
-
compare
- Specified by:
comparein interfaceComparator<AbstractProject>- Overrides:
comparein classDependencyGraph
-
getComputationalData
- Overrides:
getComputationalDatain classDependencyGraph
-
getDownstream
- Overrides:
getDownstreamin classDependencyGraph
-
getDownstreamDependencies
- Overrides:
getDownstreamDependenciesin classDependencyGraph
-
getTransitiveDownstream
- Overrides:
getTransitiveDownstreamin classDependencyGraph
-
getTransitiveUpstream
- Overrides:
getTransitiveUpstreamin classDependencyGraph
-
getUpstream
- Overrides:
getUpstreamin classDependencyGraph
-
getUpstreamDependencies
- Overrides:
getUpstreamDependenciesin classDependencyGraph
-
hasIndirectDependencies
- Overrides:
hasIndirectDependenciesin classDependencyGraph
-
putComputationalData
- Overrides:
putComputationalDatain classDependencyGraph
-