public static final class MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseRevision()
Returns the "base" revision that this
MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision represents. |
java.lang.String |
getRevision()
Returns the complete/whole revision this
MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision represents. |
boolean |
isTimestampedSnapshot()
Returns true if this
MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision represents a timestamped snapshot
version. |
public boolean isTimestampedSnapshot()
MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision
represents a timestamped snapshot
version. Else returns false.public java.lang.String getBaseRevision()
MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision
represents. For
example, for the regular snapshot revision 1.2.3-SNAPSHOT
, the base revision
is 1.2.3
. Similarly for timestamped snapshot version
1.0.2-20100925.223013-19
, the base revision is 1.0.2
public java.lang.String getRevision()
MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision
represents. For
example, if this MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision
represents a regular snapshot
1.3.4-SNAPSHOT
revision then this method returns 1.3.4-SNAPSHOT
.
Similarly, if this MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision
represents a timestamped snapshot
1.0.2-20100925.223013-19
revision, then this method returns
1.0.2-20100925.223013-19
Copyright ©2007-2022 The Apache Software Foundation, Licensed under Apache License, Version 2.0.