|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.jelly.tags.maven.DependencyResolver
Constructor Summary | |
DependencyResolver()
Creates the dependency resolver. |
|
DependencyResolver(DependencyResolverInterface impl)
Creates the dependency resolver with a specific implementation |
Method Summary | |
void |
clear()
Clear the project list and set the graph built flag to false. |
static Project |
getProject(java.util.List projects,
java.lang.String id)
|
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 DependencyResolver()
Object.Object()
public DependencyResolver(DependencyResolverInterface impl)
impl
- 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(java.util.List)
public java.util.List getSortedDependencies(Project project) throws DependencyResolverException
DependencyResolverInterface
getSortedDependencies
in interface DependencyResolverInterface
project
- The project to use as the head of the graph.
DependencyResolverException
- If an error occurs while processing the graph.DependencyResolverInterface.getSortedDependencies(org.apache.maven.project.Project)
public java.util.List getSortedDependencies(Project project, boolean sourceBuild) throws DependencyResolverException
DependencyResolverInterface
getSortedDependencies
in interface DependencyResolverInterface
project
- The project to use as the head of the graph.sourceBuild
- Indicate we are performing a source build.
DependencyResolverException
- If an error occurs while processing the graph.DependencyResolverInterface.getSortedDependencies(org.apache.maven.project.Project, boolean)
public java.util.List getSortedDependencies(boolean sourceBuild) throws DependencyResolverException
DependencyResolverInterface
getSortedDependencies
in interface DependencyResolverInterface
sourceBuild
- Flag to indicate we are performing a source build.
DependencyResolverException
- If an error occurs while processing the graph.DependencyResolverInterface.getSortedDependencies(boolean)
public static Project getProject(java.util.List projects, java.lang.String id)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |