public final class HighestVersionFilter extends Object implements VersionFilter
VersionFilter.VersionFilterContext| Constructor and Description |
|---|
HighestVersionFilter()
Creates a new instance of this version filter.
|
| Modifier and Type | Method and Description |
|---|---|
VersionFilter |
deriveChildFilter(DependencyCollectionContext context)
Derives a version filter for the specified collection context.
|
boolean |
equals(Object obj) |
void |
filterVersions(VersionFilter.VersionFilterContext context)
Filters the available versions for a given dependency.
|
int |
hashCode() |
public HighestVersionFilter()
public void filterVersions(VersionFilter.VersionFilterContext context)
VersionFiltercontext.iterator() to inspect the available versions and use
Iterator.remove() to delete unacceptable versions. If no versions remain after all filtering
has been performed, the dependency collection process will automatically fail, i.e. implementations need not
handle this situation on their own.filterVersions in interface VersionFiltercontext - The version filter context, must not be null.public VersionFilter deriveChildFilter(DependencyCollectionContext context)
VersionFilterderiveChildFilter in interface VersionFiltercontext - The dependency collection context, must not be null.null if versions should not be filtered any more.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.