org.apache.maven.shared.dependency.graph.filter
Class ArtifactDependencyNodeFilter

java.lang.Object
  extended by 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: ArtifactDependencyNodeFilter.java 1351166 2012-06-17 21:15:54Z hboutemy $
Author:
Mark Hobson

Constructor Summary
ArtifactDependencyNodeFilter(ArtifactFilter filter)
          Creates a dependency node filter that delegates to the specified artifact filter.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactDependencyNodeFilter

public ArtifactDependencyNodeFilter(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 ArtifactFilter getArtifactFilter()
Gets the artifact filter this dependency node filter delegates to.

Returns:
the artifact filter this dependency node filter delegates to


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.