@Component(role=VersionHelper.class) public class VersionHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EARLIEST_SUFFIX
Earliest suffix to help Aether detect ranges _better_ when SNAPSHOT versions are used.
|
Constructor and Description |
---|
VersionHelper() |
VersionHelper(org.eclipse.aether.version.VersionScheme versionScheme) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.version.VersionRange |
before(int... parts)
Builds a range before version parts.
|
org.eclipse.aether.version.VersionScheme |
getScheme() |
org.eclipse.aether.version.VersionRange |
parseRange(String pattern)
Parses a
VersionRange and propagates exceptions. |
org.eclipse.aether.version.Version |
parseVersion(String version)
Parses a
Version and propagates exceptions. |
org.eclipse.aether.version.VersionRange |
range(int... parts)
Builds a range between version parts and parts[n] + 1.
|
public static final String EARLIEST_SUFFIX
public VersionHelper()
public VersionHelper(org.eclipse.aether.version.VersionScheme versionScheme)
public org.eclipse.aether.version.VersionScheme getScheme()
public org.eclipse.aether.version.Version parseVersion(String version)
Version
and propagates exceptions.public org.eclipse.aether.version.VersionRange parseRange(String pattern)
VersionRange
and propagates exceptions.public org.eclipse.aether.version.VersionRange range(int... parts)
public org.eclipse.aether.version.VersionRange before(int... parts)
Copyright © 2006–2019. All rights reserved.