org.apache.maven.plugin.dependency.utils.filters
Class ArtifactIdFilter
java.lang.Object
org.apache.maven.plugin.dependency.utils.filters.AbstractArtifactsFilter
org.apache.maven.plugin.dependency.utils.filters.AbstractArtifactFeatureFilter
org.apache.maven.plugin.dependency.utils.filters.ArtifactIdFilter
- All Implemented Interfaces:
- ArtifactsFilter
public class ArtifactIdFilter
- extends AbstractArtifactFeatureFilter
Filter on ArtifactId name
- Since:
- 2.0-alpha-2
- Author:
- clove
- See Also:
AbstractArtifactFeatureFilter
Constructor Summary |
ArtifactIdFilter(java.lang.String include,
java.lang.String exclude)
Will setup super with 'ArtifactId' as the filterType |
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 |
java.lang.String |
getExcludeScope()
|
java.lang.String |
getIncludeScope()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactIdFilter
public ArtifactIdFilter(java.lang.String include,
java.lang.String exclude)
- Will setup super with 'ArtifactId' as the filterType
- Parameters:
include
- exclude
-
getExcludeScope
public java.lang.String getExcludeScope()
- Returns:
- Returns the excludeScope.
getIncludeScope
public java.lang.String getIncludeScope()
- Returns:
- Returns the includeScope.
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-2009 Apache Software Foundation. All Rights Reserved.