Class SemanticVersion
- java.lang.Object
-
- jetbrains.buildServer.tools.utils.SemanticVersion
-
- All Implemented Interfaces:
Comparable<SemanticVersion>
public class SemanticVersion extends Object implements Comparable<SemanticVersion>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
compareAsVersions(String versionString1, String versionString2)
int
compareTo(SemanticVersion other)
boolean
equals(Object o)
boolean
equals(SemanticVersion that)
String
getSpecialVersion()
Version
getVersion()
int
hashCode()
String
toString()
static SemanticVersion
valueOf(String versionString)
-
-
-
Method Detail
-
valueOf
@Nullable public static SemanticVersion valueOf(@NotNull String versionString)
-
compareAsVersions
public static int compareAsVersions(@NotNull String versionString1, @NotNull String versionString2)
-
getVersion
@NotNull public Version getVersion()
-
getSpecialVersion
@Nullable public String getSpecialVersion()
-
compareTo
public int compareTo(@NotNull SemanticVersion other)
- Specified by:
compareTo
in interfaceComparable<SemanticVersion>
-
equals
public boolean equals(SemanticVersion that)
-
-