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) |
isArtifactIncludedpublic 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.ArtifactFilterExceptionpublic 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 © 2002-2015 The Apache Software Foundation. All Rights Reserved.