public class ScopeFilter extends Object implements TransformableFilter
org.sonatype.aether.util.filter.ScopeDependencyFilter,
ScopeDependencyFilter| Constructor and Description |
|---|
ScopeFilter(Collection<String> included,
Collection<String> excluded) |
| Modifier and Type | Method and Description |
|---|---|
static ScopeFilter |
excluding(Collection<String> excluded)
Construct a ScopeFilter based on excluded scopes
|
static ScopeFilter |
excluding(String... excluded)
Construct a ScopeFilter based on excluded scopes
|
Collection<String> |
getExcluded()
Get the excluded scopes
|
Collection<String> |
getIncluded()
Get the included scopes
|
static ScopeFilter |
including(Collection<String> included)
Construct a ScopeFilter based on included scopes
|
static ScopeFilter |
including(String... included)
Construct a ScopeFilter based on included scopes
|
<T> T |
transform(FilterTransformer<T> transformer)
Transform this filter to a tool specific implementation
|
public ScopeFilter(Collection<String> included, Collection<String> excluded)
included - specific scopes to include or null to include allexcluded - specific scopes to exclude or null to exclude nonepublic static ScopeFilter including(Collection<String> included)
included - the scopes to include, may be nullnullpublic static ScopeFilter including(String... included)
included - the scopes to include, must not be nullnullpublic static ScopeFilter excluding(Collection<String> excluded)
excluded - the scopes to exclude, may be nullnullpublic static ScopeFilter excluding(String... excluded)
excluded - the scopes to exclude, must not be nullnullpublic final Collection<String> getExcluded()
nullpublic final Collection<String> getIncluded()
nullpublic <T> T transform(FilterTransformer<T> transformer)
transform in interface TransformableFilterT - The type to be used.transformer - the transformer, must not be nullCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.