Class ArtifactIncludeNode

  • All Implemented Interfaces:
    Node

    class ArtifactIncludeNode
    extends java.lang.Object
    implements Node
    Since:
    3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.artifact.Artifact artifact  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArtifactIncludeNode​(org.apache.maven.artifact.Artifact artifact)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.maven.model.Dependency getDependency()
      Note: an artifact doesn't contain exclusion information, so it won't be available here.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • artifact

        private final org.apache.maven.artifact.Artifact artifact
    • Constructor Detail

      • ArtifactIncludeNode

        ArtifactIncludeNode​(org.apache.maven.artifact.Artifact artifact)
    • Method Detail

      • getDependency

        public org.apache.maven.model.Dependency getDependency()
        Note: an artifact doesn't contain exclusion information, so it won't be available here. When required switch to filtering based on Aether
        Specified by:
        getDependency in interface Node
        Returns:
        Dependency
        See Also:
        EclipseAetherNode, SonatypeAetherNode