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

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

public class DefaultDependencyTreeBuilder
extends java.lang.Object
implements DependencyTreeBuilder


Constructor Summary
DefaultDependencyTreeBuilder(BuildManager buildManager)
           
 
Method Summary
 org.codehaus.plexus.util.dag.DAG getDirectDependencyGraph(Build build)
          Calculates the direct dependency graph for a particular build
 java.util.List<Build> getDirectParents(Build build)
          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

DefaultDependencyTreeBuilder

public DefaultDependencyTreeBuilder(BuildManager buildManager)
Method Detail

getDirectParents

public java.util.List<Build> getDirectParents(Build build)
                                       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(Build build)
                                                          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 © 2009 Atlassian Pty Ltd. All Rights Reserved.