Class ConcurrencyDependencyGraph
java.lang.Object
org.apache.maven.lifecycle.internal.builder.multithreaded.ConcurrencyDependencyGraph
Presents a view of the Dependency Graph that is suited for concurrent building.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.- Since:
 - 3.0
 - Author:
 - Kristian Rosenvold
 
- 
Constructor Summary
ConstructorsConstructorDescriptionConcurrencyDependencyGraph(ProjectBuildList projectBuilds, ProjectDependencyGraph projectDependencyGraph)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected List<MavenProject> protected Set<MavenProject> intprotected ProjectBuildListGets all the builds that have no reactor-dependenciesmarkAsFinished(MavenProject mavenProject) Marks the provided project as finished. 
- 
Constructor Details
- 
ConcurrencyDependencyGraph
public ConcurrencyDependencyGraph(ProjectBuildList projectBuilds, ProjectDependencyGraph projectDependencyGraph)  
 - 
 - 
Method Details
- 
getNumberOfBuilds
public int getNumberOfBuilds() - 
getRootSchedulableBuilds
Gets all the builds that have no reactor-dependencies- Returns:
 - A set of all the initial builds
 
 - 
markAsFinished
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
 
 - 
getUnfinishedProjects
- Returns:
 - set of projects that have yet to be processed successfully by the build.
 
 - 
getFinishedProjects
- Returns:
 - set of projects that have been successfully processed by the build.
 
 - 
getProjectBuilds
 - 
getDependencies
- Parameters:
 p-- Returns:
 - List of prerequisite projects
 
 - 
getActiveDependencies
- Parameters:
 p-- Returns:
 - List of uncompleted prerequisite projects
 
 
 -