org.eclipse.aether.impl

## Interface DependencyCollector

- All Known Implementing Classes:
    DefaultDependencyCollector

      public interface DependencyCollector

  Given a collection of direct dependencies, recursively gathers their transitive dependencies and calculates the dependency graph.
  Restriction:
    This interface is not intended to be extended by clients.
  Restriction:
    This interface is not intended to be implemented by clients.
  Provisional:
    This type is provisional and can be changed, moved or removed without prior notice.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CollectResult` | `collectDependencies(RepositorySystemSession session, CollectRequest request)` Collects the transitive dependencies of some artifacts and builds a dependency graph.

- - ### Method Detail

    - #### collectDependencies

          CollectResult collectDependencies(RepositorySystemSession session,
                                          CollectRequest request)
                                            throws DependencyCollectionException

      Collects the transitive dependencies of some artifacts and builds a dependency graph. Note that this operation is only concerned about determining the coordinates of the transitive dependencies and does not actually resolve the artifact files. The supplied session carries various hooks to customize the dependency graph that must be invoked throughout the operation.
      Parameters:
        `session` - The repository session, must not be `null`.
        `request` - The collection request, must not be `null`.
      Returns:
        The collection result, never `null`.
      Throws:
        `DependencyCollectionException` - If the dependency tree could not be built.
      See Also:
        `RepositorySystemSession.getDependencyTraverser()`, `RepositorySystemSession.getDependencyManager()`, `RepositorySystemSession.getDependencySelector()`, `RepositorySystemSession.getVersionFilter()`, `RepositorySystemSession.getDependencyGraphTransformer()`, `RepositorySystem.collectDependencies(RepositorySystemSession, CollectRequest)`

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.