case class Version(major: Long, minor: Long = 0, patch: Option[Long] = None, patch2: Option[Long] = None, preRelease: Option[PreRelease] = None, metadata: Option[String] = None) extends Ordered[Version] with Product with Serializable
separation of possible combinations
- major
the major version number
- minor
the minor version number
- patch
the path version number
- patch2
the path version number (to support a.b.c.d)
- preRelease
the pre release name
- metadata
the release metadata
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Version
- Serializable
- Serializable
- Product
- Equals
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Version(major: Long, minor: Long = 0, patch: Option[Long] = None, patch2: Option[Long] = None, preRelease: Option[PreRelease] = None, metadata: Option[String] = None)
- major
the major version number
- minor
the minor version number
- patch
the path version number
- patch2
the path version number (to support a.b.c.d)
- 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: Version): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Version): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: Version): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Version): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def binary: Version
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compare(that: Version): Int
- Definition Classes
- Version → Ordered
-
def
compareTo(that: Version): 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] )
- def forceBinary: Version
-
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: Option[Long]
- val patch2: Option[Long]
- val preRelease: Option[PreRelease]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Version → 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( ... )