public class ProjectSorter extends Object
Constructor and Description |
---|
ProjectSorter(List projects)
Sort a list of projects.
|
ProjectSorter(List projects,
List selectedProjectNames,
String resumeFrom,
boolean make,
boolean makeDependents) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.util.dag.DAG |
getDAG() |
List |
getDependents(String id) |
Map |
getProjectMap() |
List<MavenProject> |
getSortedProjects() |
MavenProject |
getTopLevelProject() |
boolean |
hasMultipleProjects() |
public ProjectSorter(List projects) throws org.codehaus.plexus.util.dag.CycleDetectedException, DuplicateProjectException, MissingProjectException
DuplicateProjectException
- if any projects are duplicated by idMissingProjectException
org.codehaus.plexus.util.dag.CycleDetectedException
public ProjectSorter(List projects, List selectedProjectNames, String resumeFrom, boolean make, boolean makeDependents) throws org.codehaus.plexus.util.dag.CycleDetectedException, DuplicateProjectException, MissingProjectException
org.codehaus.plexus.util.dag.CycleDetectedException
DuplicateProjectException
MissingProjectException
public MavenProject getTopLevelProject()
public List<MavenProject> getSortedProjects()
public boolean hasMultipleProjects()
public org.codehaus.plexus.util.dag.DAG getDAG()
public Map getProjectMap()
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.