Package org.apache.maven.internal.impl
Class DefaultNode
java.lang.Object
org.apache.maven.internal.impl.AbstractNode
org.apache.maven.internal.impl.DefaultNode
- All Implemented Interfaces:
Node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.aether.graph.DependencyNodeprotected final InternalSessionprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionDefaultNode(InternalSession session, org.eclipse.aether.graph.DependencyNode node, boolean verbose) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns a string representation of this dependency node.Gets the child nodes of this node.The repository where this artifact has been downloaded from.Methods inherited from class org.apache.maven.internal.impl.AbstractNode
accept, filter, toString
-
Field Details
-
session
-
node
-
verbose
protected final boolean verbose
-
-
Constructor Details
-
DefaultNode
public DefaultNode(@Nonnull InternalSession session, @Nonnull org.eclipse.aether.graph.DependencyNode node, boolean verbose)
-
-
Method Details
-
getArtifact
- Returns:
- artifact for this node
-
getDependency
- Returns:
- dependency for this node
-
getChildren
Description copied from interface:NodeGets the child nodes of this node.- Returns:
- the child nodes of this node, never
null
-
getRemoteRepositories
- Returns:
- repositories of this node
-
getRepository
Description copied from interface:NodeThe repository where this artifact has been downloaded from. -
asString
Description copied from interface:NodeReturns a string representation of this dependency node.- Specified by:
asStringin interfaceNode- Overrides:
asStringin classAbstractNode- Returns:
- the string representation
-