Class DefaultNode

java.lang.Object
org.apache.maven.internal.impl.AbstractNode
org.apache.maven.internal.impl.DefaultNode
All Implemented Interfaces:
Node

public class DefaultNode extends AbstractNode
  • Field Details

    • session

      @Nonnull protected final AbstractSession session
    • node

      @Nonnull protected final org.eclipse.aether.graph.DependencyNode node
    • verbose

      protected final boolean verbose
  • Constructor Details

  • Method Details

    • getDependency

      public Dependency getDependency()
      Returns:
      dependency for this node
    • getChildren

      public List<Node> getChildren()
      Description copied from interface: Node
      Gets the child nodes of this node.
      Returns:
      the child nodes of this node, never null
    • getRemoteRepositories

      public List<RemoteRepository> getRemoteRepositories()
      Returns:
      repositories of this node
    • getRepository

      public Optional<RemoteRepository> getRepository()
      Description copied from interface: Node
      The repository where this artifact has been downloaded from.
    • asString

      public String asString()
      Description copied from interface: Node
      Returns a string representation of this dependency node.
      Specified by:
      asString in interface Node
      Overrides:
      asString in class AbstractNode
      Returns:
      the string representation