public class ExclusionsFilter extends Object implements TransformableFilter
ExclusionsDependencyFilter| Constructor and Description |
|---|
ExclusionsFilter(Collection<String> excludes)
The default constructor specifying a collection of keys which must be excluded.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getExcludes()
Getter for the field
excludes. |
<T> T |
transform(FilterTransformer<T> transformer)
Subclasses should include the following code:
|
public ExclusionsFilter(Collection<String> excludes)
excludes - the keys to exclude, may not be nullArtifact.getDependencyConflictId()public final Collection<String> getExcludes()
Getter for the field excludes.
public <T> T transform(FilterTransformer<T> transformer)
@Override
public abstract <T> T transform( FilterTransformer<T> transformer )
{
return transformer.transform( this );
}
Transform this filter to a tool specific implementationtransform in interface TransformableFilterT - the interface of the tool specific filtertransformer - the tool specific transformer, may not be nullnullCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.