Package | Description |
---|---|
org.eclipse.aether.collection |
The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
|
org.eclipse.aether.graph |
The representation of a dependency graph by means of connected dependency nodes.
|
org.eclipse.aether.internal.test.util |
Utility classes to ease unit testing.
|
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
org.eclipse.aether.util.filter |
Various dependency filters for selecting nodes in a dependency graph.
|
org.eclipse.aether.util.graph.manager |
Various dependency managers for building a dependency graph.
|
org.eclipse.aether.util.graph.transformer |
Various dependency graph transformers for post-processing a dependency graph.
|
org.eclipse.aether.util.graph.visitor |
Various dependency visitors for inspecting a dependency graph.
|
Modifier and Type | Method and Description |
---|---|
DependencyNode |
CollectResult.getRoot()
Gets the root node of the dependency graph.
|
DependencyNode |
DependencyGraphTransformer.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends List<? extends DependencyNode>> |
UnsolvableVersionConflictException.getPaths()
Gets the paths leading to the conflicting dependencies.
|
Modifier and Type | Method and Description |
---|---|
CollectResult |
CollectResult.setRoot(DependencyNode root)
Sets the root node of the dependency graph.
|
DependencyNode |
DependencyGraphTransformer.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
Transforms the dependency graph denoted by the specified root node.
|
Constructor and Description |
---|
UnsolvableVersionConflictException(Collection<? extends List<? extends DependencyNode>> paths)
Creates a new exception with the specified paths to conflicting nodes in the dependency graph.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDependencyNode
A node within a dependency graph.
|
Modifier and Type | Method and Description |
---|---|
List<DependencyNode> |
DependencyNode.getChildren()
Gets the child nodes of this node.
|
List<DependencyNode> |
DefaultDependencyNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
boolean |
DependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents)
Indicates whether the specified dependency node shall be included or excluded.
|
boolean |
DependencyVisitor.visitEnter(DependencyNode node)
Notifies the visitor of a node visit before its children have been processed.
|
boolean |
DependencyVisitor.visitLeave(DependencyNode node)
Notifies the visitor of a node visit after its children have been processed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents)
Indicates whether the specified dependency node shall be included or excluded.
|
void |
DependencyNode.setChildren(List<DependencyNode> children)
Sets the child nodes of this node.
|
void |
DefaultDependencyNode.setChildren(List<DependencyNode> children) |
Constructor and Description |
---|
DefaultDependencyNode(DependencyNode node)
Creates a mostly shallow clone of the specified node.
|
Modifier and Type | Method and Description |
---|---|
DependencyNode |
NodeBuilder.build() |
DependencyNode |
DependencyGraphParser.parse(URL resource)
Parse the graph definition read from the given URL.
|
DependencyNode |
DependencyGraphParser.parseLiteral(String dependencyGraph)
Parse the given graph definition.
|
DependencyNode |
DependencyGraphParser.parseResource(String resource)
Parse the graph definition read from the given classpath resource.
|
Modifier and Type | Method and Description |
---|---|
List<DependencyNode> |
DependencyGraphParser.parseMultiResource(String resource)
Parse multiple graphs in one resource, divided by "---".
|
Modifier and Type | Method and Description |
---|---|
String |
DependencyGraphParser.dump(DependencyNode root) |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
ArtifactRequest.getDependencyNode()
Gets the dependency node (if any) for which to resolve the artifact.
|
DependencyNode |
DependencyResult.getRoot()
Gets the root node of the resolved dependency graph.
|
DependencyNode |
DependencyRequest.getRoot()
Gets the root node of the dependency graph whose artifacts should be resolved.
|
Modifier and Type | Method and Description |
---|---|
ArtifactRequest |
ArtifactRequest.setDependencyNode(DependencyNode node)
Sets the dependency node to resolve.
|
DependencyResult |
DependencyResult.setRoot(DependencyNode root)
Sets the root node of the resolved dependency graph.
|
DependencyRequest |
DependencyRequest.setRoot(DependencyNode root)
Sets the root node of the dependency graph whose artifacts should be resolved.
|
Constructor and Description |
---|
ArtifactRequest(DependencyNode node)
Creates a request from the specified dependency node.
|
DependencyRequest(DependencyNode node,
DependencyFilter filter)
Creates a request for the specified dependency graph and with the given resolution filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NotDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
ExclusionsDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
OrDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
ScopeDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
AndDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
Modifier and Type | Method and Description |
---|---|
boolean |
NotDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
ExclusionsDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
OrDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
ScopeDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
AndDependencyFilter.accept(DependencyNode node,
List<DependencyNode> parents) |
Modifier and Type | Method and Description |
---|---|
static Boolean |
DependencyManagerUtils.getPremanagedOptional(DependencyNode node)
Gets the optional flag of the specified dependency node before dependency management was applied (if any).
|
static String |
DependencyManagerUtils.getPremanagedScope(DependencyNode node)
Gets the scope of the specified dependency node before dependency management was applied (if any).
|
static String |
DependencyManagerUtils.getPremanagedVersion(DependencyNode node)
Gets the version or version range of the specified dependency node before dependency management was applied (if
any).
|
Modifier and Type | Method and Description |
---|---|
DependencyNode |
ConflictResolver.ConflictItem.getNode()
Gets the dependency node involved in the conflict.
|
DependencyNode |
ConflictResolver.ConflictContext.getRoot()
Gets the root node of the dependency graph being transformed.
|
DependencyNode |
ConflictResolver.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
ConflictMarker.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
After the execution of this method, every DependencyNode with an attached dependency is member of one conflict
group.
|
DependencyNode |
JavaDependencyContextRefiner.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
ChainedDependencyGraphTransformer.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
NoopDependencyGraphTransformer.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
ConflictIdSorter.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
Modifier and Type | Method and Description |
---|---|
ConflictResolver.VersionSelector |
ConflictResolver.VersionSelector.getInstance(DependencyNode root,
DependencyGraphTransformationContext context)
Retrieves the version selector for use during the specified graph transformation.
|
ConflictResolver.ScopeSelector |
ConflictResolver.ScopeSelector.getInstance(DependencyNode root,
DependencyGraphTransformationContext context)
Retrieves the scope selector for use during the specified graph transformation.
|
ConflictResolver.ScopeDeriver |
ConflictResolver.ScopeDeriver.getInstance(DependencyNode root,
DependencyGraphTransformationContext context)
Retrieves the scope deriver for use during the specified graph transformation.
|
ConflictResolver.OptionalitySelector |
ConflictResolver.OptionalitySelector.getInstance(DependencyNode root,
DependencyGraphTransformationContext context)
Retrieves the optionality selector for use during the specified graph transformation.
|
boolean |
ConflictResolver.ConflictContext.isIncluded(DependencyNode node)
Determines whether the specified dependency node belongs to this conflict context.
|
DependencyNode |
ConflictResolver.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
ConflictMarker.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context)
After the execution of this method, every DependencyNode with an attached dependency is member of one conflict
group.
|
DependencyNode |
JavaDependencyContextRefiner.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
ChainedDependencyGraphTransformer.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
NoopDependencyGraphTransformer.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
DependencyNode |
ConflictIdSorter.transformGraph(DependencyNode node,
DependencyGraphTransformationContext context) |
Constructor and Description |
---|
ConflictResolver.ConflictContext(DependencyNode root,
Object conflictId,
Map<DependencyNode,Object> conflictIds,
Collection<ConflictResolver.ConflictItem> items)
Creates a new conflict context.
|
ConflictResolver.ConflictItem(DependencyNode parent,
DependencyNode node,
int depth,
int optionalities,
String... scopes)
Creates a new conflict item with the specified properties.
|
Constructor and Description |
---|
ConflictResolver.ConflictContext(DependencyNode root,
Object conflictId,
Map<DependencyNode,Object> conflictIds,
Collection<ConflictResolver.ConflictItem> items)
Creates a new conflict context.
|
Modifier and Type | Method and Description |
---|---|
protected DependencyNode |
CloningDependencyVisitor.clone(DependencyNode node)
Creates a clone of the specified node.
|
DependencyNode |
CloningDependencyVisitor.getRootNode()
Gets the root node of the cloned dependency graph.
|
Modifier and Type | Method and Description |
---|---|
List<List<DependencyNode>> |
PathRecordingDependencyVisitor.getPaths()
Gets the paths leading to nodes matching the filter that have been recorded during the graph visit.
|
Modifier and Type | Method and Description |
---|---|
protected DependencyNode |
CloningDependencyVisitor.clone(DependencyNode node)
Creates a clone of the specified node.
|
boolean |
PostorderNodeListGenerator.visitEnter(DependencyNode node) |
boolean |
FilteringDependencyVisitor.visitEnter(DependencyNode node) |
boolean |
PreorderNodeListGenerator.visitEnter(DependencyNode node) |
boolean |
PathRecordingDependencyVisitor.visitEnter(DependencyNode node) |
boolean |
CloningDependencyVisitor.visitEnter(DependencyNode node) |
boolean |
TreeDependencyVisitor.visitEnter(DependencyNode node) |
boolean |
PostorderNodeListGenerator.visitLeave(DependencyNode node) |
boolean |
FilteringDependencyVisitor.visitLeave(DependencyNode node) |
boolean |
PreorderNodeListGenerator.visitLeave(DependencyNode node) |
boolean |
PathRecordingDependencyVisitor.visitLeave(DependencyNode node) |
boolean |
CloningDependencyVisitor.visitLeave(DependencyNode node) |
boolean |
TreeDependencyVisitor.visitLeave(DependencyNode node) |
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.