public class ConcurrencyDependencyGraph extends Object
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.Constructor and Description |
---|
ConcurrencyDependencyGraph(ProjectBuildList projectBuilds,
ProjectDependencyGraph projectDependencyGraph) |
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
getActiveDependencies(MavenProject p)
|
protected List<MavenProject> |
getDependencies(MavenProject p)
|
protected Set<MavenProject> |
getFinishedProjects() |
int |
getNumberOfBuilds() |
protected ProjectBuildList |
getProjectBuilds() |
List<MavenProject> |
getRootSchedulableBuilds()
Gets all the builds that have no reactor-dependencies
|
Set<MavenProject> |
getUnfinishedProjects() |
List<MavenProject> |
markAsFinished(MavenProject mavenProject)
Marks the provided project as finished.
|
public ConcurrencyDependencyGraph(ProjectBuildList projectBuilds, ProjectDependencyGraph projectDependencyGraph)
public int getNumberOfBuilds()
public List<MavenProject> getRootSchedulableBuilds()
public List<MavenProject> markAsFinished(MavenProject mavenProject)
mavenProject
- The projectpublic Set<MavenProject> getUnfinishedProjects()
protected Set<MavenProject> getFinishedProjects()
protected ProjectBuildList getProjectBuilds()
protected List<MavenProject> getDependencies(MavenProject p)
p
- public List<MavenProject> getActiveDependencies(MavenProject p)
p
- Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.