Class ArtifactIdFilter
java.lang.Object
org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
org.apache.maven.shared.artifact.filter.collection.ArtifactIdFilter
- All Implemented Interfaces:
ArtifactsFilter
Filter on ArtifactId name
- Since:
- 2.0-alpha-2
- Author:
- clove
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactIdFilter(String include, String exclude) Will setup super with 'ArtifactId' as the filterType -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetArtifactFeature(org.apache.maven.artifact.Artifact artifact) Should return the type or classifier of the given artifact, so that we can filter itMethods inherited from class AbstractArtifactFeatureFilter
compareFeatures, filter, getExcludes, getIncludes, setExcludes, setIncludesMethods inherited from class AbstractArtifactsFilter
isArtifactIncluded
-
Constructor Details
-
ArtifactIdFilter
-
-
Method Details
-
getArtifactFeature
Should return the type or classifier of the given artifact, so that we can filter it- Specified by:
getArtifactFeaturein classAbstractArtifactFeatureFilter- Parameters:
artifact- artifact to return type or classifier of- Returns:
- type or classifier
-