case class SemanticVersion(major: Long, minor: Long, patch: Long, preRelease: Option[PreRelease] = None, metadata: Option[String] = None) extends Ordered[SemanticVersion] with Product with Serializable
separation of possible combinations
- major
the major version number
- minor
the minor version number
- patch
the path version number
- preRelease
the pre release name
- metadata
the release metadata
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SemanticVersion
- Serializable
- Serializable
- Product
- Equals
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SemanticVersion(major: Long, minor: Long, patch: Long, preRelease: Option[PreRelease] = None, metadata: Option[String] = None)
- major
the major version number
- minor
the minor version number
- patch
the path version number
- preRelease
the pre release name
- metadata
the release metadata
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: SemanticVersion): Boolean
- Definition Classes
- Ordered
-
def
<=(that: SemanticVersion): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: SemanticVersion): Boolean
- Definition Classes
- Ordered
-
def
>=(that: SemanticVersion): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compare(that: SemanticVersion): Int
- Definition Classes
- SemanticVersion → Ordered
-
def
compareTo(that: SemanticVersion): Int
- Definition Classes
- Ordered → Comparable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val major: Long
- val metadata: Option[String]
- val minor: Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val patch: Long
- val preRelease: Option[PreRelease]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SemanticVersion → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )