org.apache.maven.plugin.dependency.utils.filters
Class TypeFilter

java.lang.Object
  extended by org.apache.maven.plugin.dependency.utils.filters.AbstractArtifactsFilter
      extended by org.apache.maven.plugin.dependency.utils.filters.AbstractArtifactFeatureFilter
          extended by org.apache.maven.plugin.dependency.utils.filters.TypeFilter
All Implemented Interfaces:
ArtifactsFilter

public class TypeFilter
extends AbstractArtifactFeatureFilter

Version:
$Id: TypeFilter.java 552528 2007-07-02 16:12:47Z markh $
Author:
Brian Fox

Constructor Summary
TypeFilter(java.lang.String include, java.lang.String exclude)
           
 
Method Summary
protected  java.lang.String getArtifactFeature(org.apache.maven.artifact.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.plugin.dependency.utils.filters.AbstractArtifactFeatureFilter
compareFeatures, filter, getExcludes, getIncludes, setExcludes, setIncludes
 
Methods inherited from class org.apache.maven.plugin.dependency.utils.filters.AbstractArtifactsFilter
okToProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFilter

public TypeFilter(java.lang.String include,
                  java.lang.String exclude)
Method Detail

getArtifactFeature

protected java.lang.String getArtifactFeature(org.apache.maven.artifact.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 Apache Software Foundation. All Rights Reserved.