org.apache.maven.shared.artifact.filter.collection
Class ClassifierFilter

java.lang.Object
  extended by org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
      extended by org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
          extended by org.apache.maven.shared.artifact.filter.collection.ClassifierFilter
All Implemented Interfaces:
ArtifactsFilter

public class ClassifierFilter
extends AbstractArtifactFeatureFilter

Version:
$Id: ClassifierFilter.java 661727 2008-05-30 14:21:49Z bentmann $
Author:
Brian Fox

Constructor Summary
ClassifierFilter(String include, String exclude)
           
 
Method Summary
protected  String getArtifactFeature(Artifact artifact)
          Should return the type or classifier of the given artifact, so that we can filter it
 
Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
compareFeatures, filter, getExcludes, getIncludes, setExcludes, setIncludes
 
Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
isArtifactIncluded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifierFilter

public ClassifierFilter(String include,
                        String exclude)
Method Detail

getArtifactFeature

protected String getArtifactFeature(Artifact artifact)
Description copied from class: AbstractArtifactFeatureFilter
Should return the type or classifier of the given artifact, so that we can filter it

Specified by:
getArtifactFeature in class AbstractArtifactFeatureFilter
Parameters:
artifact - artifact to return type or classifier of
Returns:
type or classifier


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