org.apache.maven.ant.tasks.support
Class SpecificScopesArtifactFilter

java.lang.Object
  extended by org.apache.maven.ant.tasks.support.SpecificScopesArtifactFilter
All Implemented Interfaces:
ArtifactFilter

public class SpecificScopesArtifactFilter
extends Object
implements ArtifactFilter

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

Version:
$Id: SpecificScopesArtifactFilter.html 816173 2012-05-06 22:12:29Z hboutemy $
Author:
pgier

Constructor Summary
SpecificScopesArtifactFilter(String scopes)
          Takes a comma separated list of scopes to include.
 
Method Summary
 boolean include(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(Artifact artifact)
Specified by:
include in interface ArtifactFilter


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