public final class DependencyFilterUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.aether.graph.DependencyFilter |
andFilter(Collection<org.eclipse.aether.graph.DependencyFilter> filters)
Creates a new filter that combines the specified filters using a logical
AND. |
static org.eclipse.aether.graph.DependencyFilter |
andFilter(org.eclipse.aether.graph.DependencyFilter... filters)
Creates a new filter that combines the specified filters using a logical
AND. |
static org.eclipse.aether.graph.DependencyFilter |
classpathFilter(Collection<String> classpathTypes)
Creates a new filter that selects dependencies whose scope matches one or more of the specified classpath types.
|
static org.eclipse.aether.graph.DependencyFilter |
classpathFilter(String... classpathTypes)
Creates a new filter that selects dependencies whose scope matches one or more of the specified classpath types.
|
static org.eclipse.aether.graph.DependencyFilter |
notFilter(org.eclipse.aether.graph.DependencyFilter filter)
Creates a new filter that negates the specified filter.
|
static org.eclipse.aether.graph.DependencyFilter |
orFilter(Collection<org.eclipse.aether.graph.DependencyFilter> filters)
Creates a new filter that combines the specified filters using a logical
OR. |
static org.eclipse.aether.graph.DependencyFilter |
orFilter(org.eclipse.aether.graph.DependencyFilter... filters)
Creates a new filter that combines the specified filters using a logical
OR. |
public static org.eclipse.aether.graph.DependencyFilter notFilter(org.eclipse.aether.graph.DependencyFilter filter)
filter - The filter to negate, must not be null.null.public static org.eclipse.aether.graph.DependencyFilter andFilter(org.eclipse.aether.graph.DependencyFilter... filters)
AND. If no filters are
specified, the resulting filter accepts everything.filters - The filters to combine, may be null.null.public static org.eclipse.aether.graph.DependencyFilter andFilter(Collection<org.eclipse.aether.graph.DependencyFilter> filters)
AND. If no filters are
specified, the resulting filter accepts everything.filters - The filters to combine, may be null.null.public static org.eclipse.aether.graph.DependencyFilter orFilter(org.eclipse.aether.graph.DependencyFilter... filters)
OR. If no filters are specified,
the resulting filter accepts nothing.filters - The filters to combine, may be null.null.public static org.eclipse.aether.graph.DependencyFilter orFilter(Collection<org.eclipse.aether.graph.DependencyFilter> filters)
OR. If no filters are specified,
the resulting filter accepts nothing.filters - The filters to combine, may be null.null.public static org.eclipse.aether.graph.DependencyFilter classpathFilter(String... classpathTypes)
',' or '+'.classpathTypes - The classpath types, may be null or empty to match no dependency.null.JavaScopespublic static org.eclipse.aether.graph.DependencyFilter classpathFilter(Collection<String> classpathTypes)
',' or '+'.classpathTypes - The classpath types, may be null or empty to match no dependency.null.JavaScopesCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.