org.apache.maven.lifecycle.internal
Class ConcurrencyDependencyGraph
java.lang.Object
org.apache.maven.lifecycle.internal.ConcurrencyDependencyGraph
public class ConcurrencyDependencyGraph
- extends Object
Presents a view of the Dependency Graph that is suited for concurrent building.
- Since:
- 3.0
- Author:
- Kristian Rosenvold
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrencyDependencyGraph
public ConcurrencyDependencyGraph(ProjectBuildList projectBuilds,
ProjectDependencyGraph projectDependencyGraph)
getNumberOfBuilds
public int getNumberOfBuilds()
getRootSchedulableBuilds
public List<MavenProject> getRootSchedulableBuilds()
- Gets all the builds that have no reactor-dependencies
- Returns:
- A list of all the initial builds
markAsFinished
public List<MavenProject> markAsFinished(MavenProject mavenProject)
- Marks the provided project as finished. Returns a list of
- Parameters:
mavenProject
- The project
- Returns:
- The list of builds that are eligible for starting now that the provided project is done
getProjectBuilds
public ProjectBuildList getProjectBuilds()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.