org.apache.maven.jelly.tags.maven
Interface DependencyResolverInterface

All Known Implementing Classes:
DependencyResolver, WerkzDependencyResolver

public interface DependencyResolverInterface

Version:
$Id: DependencyResolverInterface.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
Ben Walding

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.
 

Method Detail

clear

void clear()
Clear the project list and set the graph built flag to false.


setProjects

void setProjects(java.util.List projects)
Set a list of projects to process.

Parameters:
projects - List of projects.

getSortedDependencies

java.util.List getSortedDependencies(Project project)
                                     throws DependencyResolverException
Get the list of projects in dependency sorted order.

Parameters:
project - The project to use as the head of the graph.
Returns:
The list of projects.
Throws:
DependencyResolverException - If an error occurs while processing the graph.

getSortedDependencies

java.util.List getSortedDependencies(Project project,
                                     boolean sourceBuild)
                                     throws DependencyResolverException
Get the list of projects in dependency sorted order.

Parameters:
project - The project to use as the head of the graph.
sourceBuild - Indicate we are performing a source build.
Returns:
The list of projects.
Throws:
DependencyResolverException - If an error occurs while processing the graph.

getSortedDependencies

java.util.List getSortedDependencies(boolean sourceBuild)
                                     throws DependencyResolverException
Get the list of projects in dependency sorted order.

Parameters:
sourceBuild - Flag to indicate we are performing a source build.
Returns:
The list of projects.
Throws:
DependencyResolverException - If an error occurs while processing the graph.


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.