public class ScopeFilter extends AbstractArtifactsFilter
| Constructor and Description |
|---|
ScopeFilter(String includeScope,
String excludeScope) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.maven.artifact.Artifact> |
filter(Set<org.apache.maven.artifact.Artifact> artifacts)
This function determines if filtering needs to be performed.
|
String |
getExcludeScope() |
String |
getIncludeScope() |
void |
setExcludeScope(String scope) |
void |
setIncludeScope(String scope) |
isArtifactIncludedpublic Set<org.apache.maven.artifact.Artifact> filter(Set<org.apache.maven.artifact.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–2019 The Apache Software Foundation. All rights reserved.