public interface ProjectDependencyGraph
Modifier and Type | Method and Description |
---|---|
List<MavenProject> |
getAllProjects()
Gets all collected projects.
|
List<MavenProject> |
getDownstreamProjects(MavenProject project,
boolean transitive)
Gets the downstream projects of the specified project.
|
List<MavenProject> |
getSortedProjects()
Gets all projects in their intended build order, i.e.
|
List<MavenProject> |
getUpstreamProjects(MavenProject project,
boolean transitive)
Gets the upstream projects of the specified project.
|
List<MavenProject> getAllProjects()
List<MavenProject> getSortedProjects()
null
.List<MavenProject> getDownstreamProjects(MavenProject project, boolean transitive)
project
- The project whose downstream projects should be retrieved, must not be null
.transitive
- A flag whether to retrieve all direct and indirect downstream projects or just the immediate
downstream projects.null
.List<MavenProject> getUpstreamProjects(MavenProject project, boolean transitive)
project
- The project whose upstream projects should be retrieved, must not be null
.transitive
- A flag whether to retrieve all direct and indirect upstream projects or just the immediate
upstream projects.null
.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.