public class ScopeFilter extends Object implements TransformableFilter
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 null
null
public static ScopeFilter including(String... included)
included
- the scopes to include, must not be null
null
public static ScopeFilter excluding(Collection<String> excluded)
excluded
- the scopes to exclude, may be null
null
public static ScopeFilter excluding(String... excluded)
excluded
- the scopes to exclude, must not be null
null
public final Collection<String> getExcluded()
null
public final Collection<String> getIncluded()
null
public <T> T transform(FilterTransformer<T> transformer)
transform
in interface TransformableFilter
T
- The type to be used.transformer
- the transformer, must not be null
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.