o Clarified API docs

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1069934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2011-02-11 20:01:55 +00:00
parent 5b8042b483
commit 9b83675025
2 changed files with 6 additions and 3 deletions

View File

@ -53,7 +53,9 @@ public interface DependencyResolutionRequest
DependencyFilter getResolutionFilter(); DependencyFilter getResolutionFilter();
/** /**
* Sets the filter used to exclude some dependencies from resolution. * Sets the filter used to exclude some dependencies from resolution. Note that this filter only controls the
* resolution/download of dependency artifacts, not the inclusion of dependency nodes in the resolved dependeny
* graph.
* *
* @param filter The filter to exclude dependencies from resolution, may be {@code null} to resolve all * @param filter The filter to exclude dependencies from resolution, may be {@code null} to resolve all
* dependencies. * dependencies.

View File

@ -40,8 +40,9 @@ public interface DependencyResolutionResult
DependencyNode getDependencyGraph(); DependencyNode getDependencyGraph();
/** /**
* Gets the transitive dependencies of the project that were not excluded by a filter, whether successfully resolved * Gets the transitive dependencies of the project that were not excluded by
* or not. * {@link DependencyResolutionRequest#getResolutionFilter()}. This list is a union of the results from
* {@link #getResolvedDependencies()} and {@link #getUnresolvedDependencies()}.
* *
* @return The transitive dependencies, never {@code null}. * @return The transitive dependencies, never {@code null}.
*/ */