org.apache.maven.shared.artifact.filter.collection
public class ScopeFilter extends AbstractArtifactsFilter
Constructor and Description |
---|
ScopeFilter(java.lang.String includeScope,
java.lang.String excludeScope) |
Modifier and Type | Method and Description |
---|---|
java.util.Set |
filter(java.util.Set artifacts)
This function determines if filtering needs to be performed.
|
java.lang.String |
getExcludeScope() |
java.lang.String |
getIncludeScope() |
void |
setExcludeScope(java.lang.String excludeScope) |
void |
setIncludeScope(java.lang.String scope) |
isArtifactIncluded
public ScopeFilter(java.lang.String includeScope, java.lang.String excludeScope)
public java.util.Set filter(java.util.Set artifacts) throws ArtifactFilterException
dependencies
- the set of dependencies to filter.ArtifactFilterException
public java.lang.String getIncludeScope()
public void setIncludeScope(java.lang.String scope)
includeScope
- The includeScope to set.public java.lang.String getExcludeScope()
public void setExcludeScope(java.lang.String excludeScope)
excludeScope
- The excludeScope to set.Copyright © 2014. All Rights Reserved.