-
- All Implemented Interfaces:
-
kotlin.Comparable
public final class SemVer implements Comparable<SemVer>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSemVer.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BigIntegermajorprivate final BigIntegerminorprivate final BigIntegerpatchprivate final StringpreReleaseprivate final Stringbuild
-
Constructor Summary
Constructors Constructor Description SemVer(BigInteger major, BigInteger minor, BigInteger patch, String preRelease, String build)
-
Method Summary
Modifier and Type Method Description final BigIntegergetMajor()final BigIntegergetMinor()final BigIntegergetPatch()final StringgetPreRelease()final StringgetBuild()IntegercompareTo(SemVer other)StringtoString()final StringtoDebugString()-
-
Constructor Detail
-
SemVer
SemVer(BigInteger major, BigInteger minor, BigInteger patch, String preRelease, String build)
-
-
Method Detail
-
getMajor
final BigInteger getMajor()
-
getMinor
final BigInteger getMinor()
-
getPatch
final BigInteger getPatch()
-
getPreRelease
final String getPreRelease()
-
toDebugString
final String toDebugString()
-
-
-
-