org.apache.maven.artifact.ant
Class SpecificScopesArtifactFilter

java.lang.Object
  extended by org.apache.maven.artifact.ant.SpecificScopesArtifactFilter
All Implemented Interfaces:
org.apache.maven.artifact.resolver.filter.ArtifactFilter

public class SpecificScopesArtifactFilter
extends Object
implements org.apache.maven.artifact.resolver.filter.ArtifactFilter

Filter to only retain objects in the given scope(s).

Version:
$Id: SpecificScopesArtifactFilter.java 772694 2009-05-07 16:17:01Z pgier $
Author:
pgier

Constructor Summary
SpecificScopesArtifactFilter(String scopes)
          Takes a comma separated list of scopes to include.
 
Method Summary
 boolean include(org.apache.maven.artifact.Artifact artifact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificScopesArtifactFilter

public SpecificScopesArtifactFilter(String scopes)
Takes a comma separated list of scopes to include.

Parameters:
scopes - A comma separated list of scopes
Method Detail

include

public boolean include(org.apache.maven.artifact.Artifact artifact)
Specified by:
include in interface org.apache.maven.artifact.resolver.filter.ArtifactFilter


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