Class ArtifactDependencyNodeFilter
- java.lang.Object
-
- org.apache.maven.shared.dependency.graph.filter.ArtifactDependencyNodeFilter
-
- All Implemented Interfaces:
DependencyNodeFilter
public class ArtifactDependencyNodeFilter extends Object implements DependencyNodeFilter
A dependency node filter that delegates to an artifact filter.- Since:
- 1.1
- Version:
- $Id$
- Author:
- Mark Hobson
-
-
Constructor Summary
Constructors Constructor Description ArtifactDependencyNodeFilter(org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Creates a dependency node filter that delegates to the specified artifact filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.org.apache.maven.artifact.resolver.filter.ArtifactFilter
getArtifactFilter()
Gets the artifact filter this dependency node filter delegates to.
-
-
-
Method Detail
-
accept
public boolean accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.- Specified by:
accept
in interfaceDependencyNodeFilter
- 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
-
-