TransformableFilterpublic class ScopeFilter extends java.lang.Object implements TransformableFilter
org.sonatype.aether.util.filter.ScopeDependencyFilter,
ScopeDependencyFilter| Constructor | Description |
|---|---|
ScopeFilter(java.util.Collection<java.lang.String> included,
java.util.Collection<java.lang.String> excluded) |
| Modifier and Type | Method | Description |
|---|---|---|
static ScopeFilter |
excluding(java.lang.String... excluded) |
Construct a ScopeFilter based on excluded scopes
|
static ScopeFilter |
excluding(java.util.Collection<java.lang.String> excluded) |
Construct a ScopeFilter based on excluded scopes
|
java.util.Collection<java.lang.String> |
getExcluded() |
Get the excluded scopes
|
java.util.Collection<java.lang.String> |
getIncluded() |
Get the included scopes
|
static ScopeFilter |
including(java.lang.String... included) |
Construct a ScopeFilter based on included scopes
|
static ScopeFilter |
including(java.util.Collection<java.lang.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(java.util.Collection<java.lang.String> included,
java.util.Collection<java.lang.String> excluded)
included - specific scopes to include or null to include allexcluded - specific scopes to exclude or null to exclude nonepublic static ScopeFilter including(java.util.Collection<java.lang.String> included)
included - the scopes to include, may be nullnullpublic static ScopeFilter including(java.lang.String... included)
included - the scopes to include, must not be nullnullpublic static ScopeFilter excluding(java.util.Collection<java.lang.String> excluded)
excluded - the scopes to exclude, may be nullnullpublic static ScopeFilter excluding(java.lang.String... excluded)
excluded - the scopes to exclude, must not be nullnullpublic final java.util.Collection<java.lang.String> getExcluded()
nullpublic final java.util.Collection<java.lang.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 © 2018. All rights reserved.