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(ImmutablePlanCacheService immutablePlanCacheService, PlanDependencyManager planDependencyManager)
           
 
Method Summary
 org.codehaus.plexus.util.dag.DAG getDirectDependencyGraph(ImmutablePlan plan)
          Calculates the direct dependency graph for a particular build
 java.util.List<ImmutablePlan> getDirectParents(ImmutablePlan plan)
          Visits all the parent Plan 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(ImmutablePlanCacheService immutablePlanCacheService,
                                 PlanDependencyManager planDependencyManager)
Method Detail

getDirectParents

public java.util.List<ImmutablePlan> getDirectParents(ImmutablePlan plan)
                                               throws ConfigurationException
Description copied from interface: DependencyTreeBuilder
Visits all the parent Plan 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(ImmutablePlan 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 © 2012 Atlassian. All Rights Reserved.