Modifier and Type | Method and Description |
---|---|
Dependency |
DependencyCollectionContext.getDependency()
Gets the dependency whose children are to be processed next during dependency collection.
|
Dependency |
CollectRequest.getRoot()
Gets the root dependency of the graph.
|
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
CollectRequest.getDependencies()
Gets the direct dependencies.
|
List<Dependency> |
CollectRequest.getManagedDependencies()
Gets the dependency management to apply to transitive dependencies.
|
List<Dependency> |
DependencyCollectionContext.getManagedDependencies()
Gets the dependency management information that was contributed by the artifact descriptor of the current
dependency.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.addDependency(Dependency dependency)
Adds the specified direct dependency.
|
CollectRequest |
CollectRequest.addManagedDependency(Dependency managedDependency)
Adds the specified managed dependency.
|
DependencyManagement |
DependencyManager.manageDependency(Dependency dependency)
Applies dependency management to the specified dependency.
|
boolean |
DependencySelector.selectDependency(Dependency dependency)
Applies exclusions to the specified dependency.
|
CollectRequest |
CollectRequest.setRoot(Dependency root)
Sets the root dependency of the graph.
|
boolean |
DependencyTraverser.traverseDependency(Dependency dependency)
Decides whether the dependencies of the specified dependency should be traversed.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.setDependencies(List<Dependency> dependencies)
Sets the direct dependencies.
|
CollectRequest |
CollectRequest.setManagedDependencies(List<Dependency> managedDependencies)
Sets the dependency management to apply to transitive dependencies.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
List<Dependency> dependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(Dependency root,
List<RemoteRepository> repositories)
Creates a request with the specified properties.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
List<Dependency> dependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(List<Dependency> dependencies,
List<Dependency> managedDependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(List<Dependency> dependencies,
List<Dependency> managedDependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
Dependency |
DependencyNode.getDependency()
Gets the dependency associated with this node.
|
Dependency |
Dependency.setArtifact(Artifact artifact)
Sets the artifact being depended on.
|
Dependency |
Dependency.setExclusions(Collection<Exclusion> exclusions)
Sets the exclusions for the dependency.
|
Dependency |
Dependency.setOptional(boolean optional)
Sets the optional flag for the dependency.
|
Dependency |
Dependency.setScope(String scope)
Sets the scope of the dependency, e.g.
|
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
ArtifactDescriptorResult.getDependencies()
Gets the list of direct dependencies of the artifact.
|
List<Dependency> |
ArtifactDescriptorResult.getManagedDependencies()
Gets the dependency management information.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addDependency(Dependency dependency)
Adds the specified direct dependency.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addManagedDependency(Dependency dependency)
Adds the specified managed dependency.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setDependencies(List<Dependency> dependencies)
Sets the list of direct dependencies of the artifact.
|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setManagedDependencies(List<Dependency> dependencies)
Sets the dependency management information.
|
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
ArtifactDescription.getDependencies() |
List<Dependency> |
ArtifactDescription.getManagedDependencies() |
Modifier and Type | Method and Description |
---|---|
Dependency |
TestDependencyNode.getDependency() |
Modifier and Type | Method and Description |
---|---|
void |
TestDependencyNode.setDependency(Dependency dependency) |
Constructor and Description |
---|
TestDependencyNode(Dependency dependency)
Creates a new root node with the specified dependency.
|
Modifier and Type | Method and Description |
---|---|
Dependency |
DefaultDependencyNode.getDependency() |
Modifier and Type | Method and Description |
---|---|
List<Dependency> |
AbstractDepthFirstNodeListGenerator.getDependencies(boolean includeUnresolved)
Gets the dependencies seen during the graph traversal.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setDependency(Dependency dependency) |
Constructor and Description |
---|
DefaultDependencyNode(Dependency dependency)
Creates a new root node with the specified dependency.
|
Modifier and Type | Method and Description |
---|---|
DependencyManagement |
ClassicDependencyManager.manageDependency(Dependency dependency) |
DependencyManagement |
NoopDependencyManager.manageDependency(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
boolean |
ScopeDependencySelector.selectDependency(Dependency dependency) |
boolean |
StaticDependencySelector.selectDependency(Dependency dependency) |
boolean |
OptionalDependencySelector.selectDependency(Dependency dependency) |
boolean |
AndDependencySelector.selectDependency(Dependency dependency) |
boolean |
ExclusionDependencySelector.selectDependency(Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
boolean |
StaticDependencyTraverser.traverseDependency(Dependency dependency) |
boolean |
FatArtifactTraverser.traverseDependency(Dependency dependency) |
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.