public class ConditionalDependencyGraphWrapper extends DependencyGraph
DependencyGraph and append RunCondition to Dependency.
 
 Methods other than addDependency are just calling methods of wrapped DependencyGraphDependencyGraph.DependencyEMPTY| Constructor and Description | 
|---|
| ConditionalDependencyGraphWrapper(DependencyGraph graph,
                                 org.jenkins_ci.plugins.run_condition.RunCondition condition,
                                 org.jenkins_ci.plugins.run_condition.BuildStepRunner runner) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addDependency(DependencyGraph.Dependency dep)Add dependency. | 
| void | build() | 
| int | compare(AbstractProject o1,
       AbstractProject o2) | 
| <T> T | getComputationalData(Class<T> key) | 
| List<AbstractProject> | getDownstream(AbstractProject p) | 
| List<DependencyGraph.Dependency> | getDownstreamDependencies(AbstractProject p) | 
| Set<AbstractProject> | getTransitiveDownstream(AbstractProject src) | 
| Set<AbstractProject> | getTransitiveUpstream(AbstractProject src) | 
| List<AbstractProject> | getUpstream(AbstractProject p) | 
| List<DependencyGraph.Dependency> | getUpstreamDependencies(AbstractProject p) | 
| boolean | hasIndirectDependencies(AbstractProject src,
                       AbstractProject dst) | 
| <T> void | putComputationalData(Class<T> key,
                    T value) | 
addDependency, addDependency, addDependency, addDependencyDeclarers, getTopologicallySortedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ConditionalDependencyGraphWrapper(DependencyGraph graph, org.jenkins_ci.plugins.run_condition.RunCondition condition, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner)
public void addDependency(DependencyGraph.Dependency dep)
RunCondition will be attached.addDependency in class DependencyGraphDependencyGraph.addDependency(hudson.model.DependencyGraph.Dependency)public void build()
build in class DependencyGraphpublic int compare(AbstractProject o1, AbstractProject o2)
compare in interface Comparator<AbstractProject>compare in class DependencyGraphpublic <T> T getComputationalData(Class<T> key)
getComputationalData in class DependencyGraphpublic List<AbstractProject> getDownstream(AbstractProject p)
getDownstream in class DependencyGraphpublic List<DependencyGraph.Dependency> getDownstreamDependencies(AbstractProject p)
getDownstreamDependencies in class DependencyGraphpublic Set<AbstractProject> getTransitiveDownstream(AbstractProject src)
getTransitiveDownstream in class DependencyGraphpublic Set<AbstractProject> getTransitiveUpstream(AbstractProject src)
getTransitiveUpstream in class DependencyGraphpublic List<AbstractProject> getUpstream(AbstractProject p)
getUpstream in class DependencyGraphpublic List<DependencyGraph.Dependency> getUpstreamDependencies(AbstractProject p)
getUpstreamDependencies in class DependencyGraphpublic boolean hasIndirectDependencies(AbstractProject src, AbstractProject dst)
hasIndirectDependencies in class DependencyGraphpublic <T> void putComputationalData(Class<T> key, T value)
putComputationalData in class DependencyGraphCopyright © 2016–2021. All rights reserved.