Class WrapperNode

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

class WrapperNode extends AbstractNode
  • Field Details

    • delegate

      protected final Node delegate
    • children

      protected final List<Node> children
  • Constructor Details

    • WrapperNode

      WrapperNode(Node delegate, List<Node> children)
  • Method Details

    • getDependencyNode

      org.eclipse.aether.graph.DependencyNode getDependencyNode()
      Specified by:
      getDependencyNode in class AbstractNode
    • 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
    • getArtifact

      public Artifact getArtifact()
      Returns:
      artifact for this node
    • getDependency

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

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

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

      @Nonnull 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