Class ClassifierFilter
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.ClassifierFilter
- All Implemented Interfaces:
ArtifactsFilter
ClassifierFilter class.
-
Constructor Summary
ConstructorsConstructorDescriptionClassifierFilter(String include, String exclude) Constructor for ClassifierFilter. -
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 org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatureFilter
compareFeatures, filter, getExcludes, getIncludes, setExcludes, setIncludesMethods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
isArtifactIncluded
-
Constructor Details
-
ClassifierFilter
Constructor for ClassifierFilter.
- Parameters:
include- comma separated list with includes.exclude- comma separated list with excludes.
-
-
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
-