public class ScopeFilter extends AbstractArtifactsFilter
Constructor and Description |
---|
ScopeFilter(String includeScope,
String excludeScope) |
Modifier and Type | Method and Description |
---|---|
Set |
filter(Set artifacts)
This function determines if filtering needs to be performed.
|
String |
getExcludeScope() |
String |
getIncludeScope() |
void |
setExcludeScope(String excludeScope) |
void |
setIncludeScope(String scope) |
isArtifactIncluded
public Set filter(Set artifacts) throws ArtifactFilterException
dependencies
- the set of dependencies to filter.ArtifactFilterException
public String getIncludeScope()
public void setIncludeScope(String scope)
includeScope
- The includeScope to set.public String getExcludeScope()
public void setExcludeScope(String excludeScope)
excludeScope
- The excludeScope to set.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.