- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for parseVersionRange (0.09 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
* {@linkplain org.apache.maven.api.services.VersionParser} service. * * @see Version * @see VersionConstraint * @see org.apache.maven.api.services.VersionParser#parseVersionRange(String) * @see org.apache.maven.api.Session#parseVersionRange(String) * @since 4.0.0 */ @Experimental public interface VersionRange { /** * Determines whether the specified version is contained within this range. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
try { return versionParser.parseVersionRange(range); } catch (VersionParserException e) { throw new AssertionError(range + " should be valid but failed to parse due to: " + e.getMessage(), e); } } private void parseInvalid(String range) { try { versionParser.parseVersionRange(range); fail(range + " should be invalid");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
@Override public Version parseVersion(String version) { requireNonNull(version, "version"); return new DefaultVersion(versionScheme, version); } @Override public VersionRange parseVersionRange(String range) { requireNonNull(range, "range"); return new DefaultVersionRange(versionScheme, range); } @Override public boolean isSnapshot(String version) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java
* @return the parsed version range, never {@code null} * @throws VersionParserException if the range specification violates the syntax rules of this scheme */ @Nonnull VersionRange parseVersionRange(@Nonnull String range); /** * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)". *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 2.7K bytes - Viewed (0)