public class ArtifactDependencyNodeFilter extends Object implements DependencyNodeFilter
Constructor and Description |
---|
ArtifactDependencyNodeFilter(ArtifactFilter filter)
Creates a dependency node filter that delegates to the specified artifact filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node.
|
ArtifactFilter |
getArtifactFilter()
Gets the artifact filter this dependency node filter delegates to.
|
public ArtifactDependencyNodeFilter(ArtifactFilter filter)
filter
- the artifact filter to delegate topublic boolean accept(DependencyNode node)
accept
in interface DependencyNodeFilter
node
- the dependency node to checktrue
if this filter accepts the specified dependency nodepublic ArtifactFilter getArtifactFilter()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.