public interface ProjectDependencyGraph
Modifier and Type | Method and Description |
---|---|
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. after topologically sorting the projects according to their
inter-dependencies.
|
List<MavenProject> |
getUpstreamProjects(MavenProject project,
boolean transitive)
Gets the upstream projects of the specified project.
|
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–2014 The Apache Software Foundation. All rights reserved.