org.eclipse.aether.collection.VersionFilterpublic final class ContextualSnapshotVersionFilter extends java.lang.Object implements org.eclipse.aether.collection.VersionFilter
root artifact of the dependency graph is not a
snapshot. Alternatively, this filter can be forced to always ban snapshot versions by setting the boolean
configuration property CONFIG_PROP_ENABLE to
true.| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CONFIG_PROP_ENABLE |
The key in the repository session's
configuration
properties used to store a Boolean flag whether this filter should be forced to ban snapshots. |
| Constructor | Description |
|---|---|
ContextualSnapshotVersionFilter() |
Creates a new instance of this version filter.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.aether.collection.VersionFilter |
deriveChildFilter(org.eclipse.aether.collection.DependencyCollectionContext context) |
|
boolean |
equals(java.lang.Object obj) |
|
void |
filterVersions(org.eclipse.aether.collection.VersionFilter.VersionFilterContext context) |
|
int |
hashCode() |
public static final java.lang.String CONFIG_PROP_ENABLE
configuration
properties used to store a Boolean flag whether this filter should be forced to ban snapshots. By
default, snapshots are only filtered if the root artifact is not a snapshot.public ContextualSnapshotVersionFilter()
public void filterVersions(org.eclipse.aether.collection.VersionFilter.VersionFilterContext context)
filterVersions in interface org.eclipse.aether.collection.VersionFilterpublic org.eclipse.aether.collection.VersionFilter deriveChildFilter(org.eclipse.aether.collection.DependencyCollectionContext context)
deriveChildFilter in interface org.eclipse.aether.collection.VersionFilterpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object