Class GroupIdFilter
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.GroupIdFilter
- All Implemented Interfaces:
ArtifactsFilter
Filter on GroupId Name.
- Since:
- 2.0
- Author:
- clove
-
Constructor Summary
ConstructorsConstructorDescriptionGroupIdFilter(String include, String exclude) Construction will setup the super call with a filtertype of 'GroupId' -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancompareFeatures(String lhs, String rhs) Allows Feature comparison to be customizedprotected 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
filter, getExcludes, getIncludes, setExcludes, setIncludesMethods inherited from class AbstractArtifactsFilter
isArtifactIncluded
-
Constructor Details
-
GroupIdFilter
-
-
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
-
compareFeatures
Allows Feature comparison to be customized- Overrides:
compareFeaturesin classAbstractArtifactFeatureFilter- Parameters:
lhs- String artifact's featurerhs- String feature from exclude or include list- Returns:
- boolean true if features match
-