public final class ChainedVersionFilter extends Object implements org.eclipse.aether.collection.VersionFilter
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.collection.VersionFilter |
deriveChildFilter(org.eclipse.aether.collection.DependencyCollectionContext context) |
boolean |
equals(Object obj) |
void |
filterVersions(org.eclipse.aether.collection.VersionFilter.VersionFilterContext context) |
int |
hashCode() |
static org.eclipse.aether.collection.VersionFilter |
newInstance(Collection<? extends org.eclipse.aether.collection.VersionFilter> filters)
Chains the specified version filters.
|
static org.eclipse.aether.collection.VersionFilter |
newInstance(org.eclipse.aether.collection.VersionFilter... filters)
Chains the specified version filters.
|
static org.eclipse.aether.collection.VersionFilter |
newInstance(org.eclipse.aether.collection.VersionFilter filter1,
org.eclipse.aether.collection.VersionFilter filter2)
Chains the specified version filters.
|
public static org.eclipse.aether.collection.VersionFilter newInstance(org.eclipse.aether.collection.VersionFilter filter1, org.eclipse.aether.collection.VersionFilter filter2)
filter1
- The first version filter, may be null
.filter2
- The second version filter, may be null
.null
if both input filters are null
.public static org.eclipse.aether.collection.VersionFilter newInstance(org.eclipse.aether.collection.VersionFilter... filters)
filters
- The version filters to chain, must not be null
or contain null
.null
if the input array is empty.public static org.eclipse.aether.collection.VersionFilter newInstance(Collection<? extends org.eclipse.aether.collection.VersionFilter> filters)
filters
- The version filters to chain, must not be null
or contain null
.null
if the input collection is empty.public void filterVersions(org.eclipse.aether.collection.VersionFilter.VersionFilterContext context) throws org.eclipse.aether.RepositoryException
filterVersions
in interface org.eclipse.aether.collection.VersionFilter
org.eclipse.aether.RepositoryException
public org.eclipse.aether.collection.VersionFilter deriveChildFilter(org.eclipse.aether.collection.DependencyCollectionContext context)
deriveChildFilter
in interface org.eclipse.aether.collection.VersionFilter
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.