public abstract class AbstractArtifactFeatureFilter extends AbstractArtifactsFilter
Constructor and Description |
---|
AbstractArtifactFeatureFilter(String include,
String exclude) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
compareFeatures(String lhs,
String rhs)
Allows Feature comparison to be customized
|
Set |
filter(Set artifacts)
This function determines if filtering needs to be performed.
|
protected abstract String |
getArtifactFeature(org.apache.maven.artifact.Artifact artifact)
Should return the type or classifier of the given artifact, so that we can filter it
|
List |
getExcludes() |
List |
getIncludes() |
void |
setExcludes(String excludeString) |
void |
setIncludes(String includeString) |
isArtifactIncluded
public Set filter(Set artifacts)
dependencies
- the set of dependencies to filter.protected abstract String getArtifactFeature(org.apache.maven.artifact.Artifact artifact)
artifact
- artifact to return type or classifier ofpublic void setExcludes(String excludeString)
public void setIncludes(String includeString)
public List getExcludes()
public List getIncludes()
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.