com.atlassian.bamboo.v2.build.dependencies
Class DependencyTreeBuilderImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.dependencies.DependencyTreeBuilderImpl
All Implemented Interfaces:
DependencyTreeBuilder

public class DependencyTreeBuilderImpl
extends java.lang.Object
implements DependencyTreeBuilder


Constructor Summary
DependencyTreeBuilderImpl(PlanManager planManager, PlanDependencyManager planDependencyManager)
           
 
Method Summary
 org.codehaus.plexus.util.dag.DAG getDirectDependencyGraph(Plan plan)
          Calculates the direct dependency graph for a particular build
 java.util.List<Plan> getDirectParents(Plan plan)
          Visits all the parent Build for the give build and returns its direct linage in topological order
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyTreeBuilderImpl

public DependencyTreeBuilderImpl(PlanManager planManager,
                                 PlanDependencyManager planDependencyManager)
Method Detail

getDirectParents

public java.util.List<Plan> getDirectParents(Plan plan)
                                      throws ConfigurationException
Description copied from interface: DependencyTreeBuilder
Visits all the parent Build for the give build and returns its direct linage in topological order

Specified by:
getDirectParents in interface DependencyTreeBuilder
Returns:
buildParents
Throws:
ConfigurationException

getDirectDependencyGraph

public org.codehaus.plexus.util.dag.DAG getDirectDependencyGraph(Plan plan)
                                                          throws ConfigurationException
Description copied from interface: DependencyTreeBuilder
Calculates the direct dependency graph for a particular build

Specified by:
getDirectDependencyGraph in interface DependencyTreeBuilder
Returns:
Throws:
ConfigurationException


Copyright © 2010 Atlassian. All Rights Reserved.