Class ArtifactDependencyNodeFilter

    • Constructor Detail

      • ArtifactDependencyNodeFilter

        public ArtifactDependencyNodeFilter​(org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
        Creates a dependency node filter that delegates to the specified artifact filter.
        Parameters:
        filter - the artifact filter to delegate to
    • Method Detail

      • accept

        public boolean accept​(DependencyNode node)
        Gets whether this filter accepts the specified dependency node.
        Specified by:
        accept in interface DependencyNodeFilter
        Parameters:
        node - the dependency node to check
        Returns:
        true if this filter accepts the specified dependency node
      • getArtifactFilter

        public org.apache.maven.artifact.resolver.filter.ArtifactFilter getArtifactFilter()
        Gets the artifact filter this dependency node filter delegates to.
        Returns:
        the artifact filter this dependency node filter delegates to