public class ScopeFilter extends AbstractArtifactsFilter
Constructor and Description |
---|
ScopeFilter(String includeScope,
String excludeScope) |
Modifier and Type | Method and Description |
---|---|
Set<Artifact> |
filter(Set<Artifact> artifacts)
This function determines if filtering needs to be performed.
|
String |
getExcludeScope() |
String |
getIncludeScope() |
void |
setExcludeScope(String scope) |
void |
setIncludeScope(String scope) |
isArtifactIncluded
public Set<Artifact> filter(Set<Artifact> artifacts) throws ArtifactFilterException
artifacts
- the set of artifacts to filter.ArtifactFilterException
- when there's an invalid included scopepublic String getIncludeScope()
public void setIncludeScope(String scope)
scope
- The includeScope to set.public String getExcludeScope()
public void setExcludeScope(String scope)
scope
- The excludeScope to set.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.