|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.jelly.tags.maven.GraphDependencyResolver
Takes a list of maven projects and determines the overall dependency ordering among the project.
Constructor Summary | |
GraphDependencyResolver()
Default constructor. |
Method Summary | |
void |
clear()
Clear the project list and set the graph built flag to false. |
java.util.List |
getSortedDependencies(boolean sourceBuild)
Get the list of projects in dependency sorted order. |
java.util.List |
getSortedDependencies(Project project)
Get the list of projects in dependency sorted order. |
java.util.List |
getSortedDependencies(Project project,
boolean sourceBuild)
Get the list of projects in dependency sorted order. |
void |
setProjects(java.util.List projects)
Set a list of projects to process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphDependencyResolver()
Method Detail |
public void clear()
DependencyResolverInterface
clear
in interface DependencyResolverInterface
DependencyResolverInterface.clear()
public void setProjects(java.util.List projects)
DependencyResolverInterface
setProjects
in interface DependencyResolverInterface
projects
- List of projects.DependencyResolverInterface.setProjects(List)
public java.util.List getSortedDependencies(Project project) throws java.lang.Exception
DependencyResolverInterface
getSortedDependencies
in interface DependencyResolverInterface
project
- The project to use as the head of the graph.
java.lang.Exception
- If an error occurs while processing the graph.DependencyResolverInterface.getSortedDependencies(Project)
public java.util.List getSortedDependencies(Project project, boolean sourceBuild) throws java.lang.Exception
DependencyResolverInterface
getSortedDependencies
in interface DependencyResolverInterface
project
- The project to use as the head of the graph.sourceBuild
- Indicate we are performing a source build.
java.lang.Exception
- If an error occurs while processing the graph.DependencyResolverInterface.getSortedDependencies(Project, boolean)
public java.util.List getSortedDependencies(boolean sourceBuild) throws java.lang.Exception
DependencyResolverInterface
getSortedDependencies
in interface DependencyResolverInterface
sourceBuild
- Flag to indicate we are performing a source build.
java.lang.Exception
- If an error occurs while processing the graph.DependencyResolverInterface.getSortedDependencies(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |