Packages

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
Serializable, Serializable, Product, Equals, Ordered[Version], Comparable[Version], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Version
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: Version): Boolean
    Definition Classes
    Ordered
  4. def <=(that: Version): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: Version): Boolean
    Definition Classes
    Ordered
  7. def >=(that: Version): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def binary: Version
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compare(that: Version): Int
    Definition Classes
    Version → Ordered
  12. def compareTo(that: Version): Int
    Definition Classes
    Ordered → Comparable
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def forceBinary: Version
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val major: Long
  19. val metadata: Option[String]
  20. val minor: Long
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val patch: Option[Long]
  25. val patch2: Option[Long]
  26. val preRelease: Option[PreRelease]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    Version → AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[Version]

Inherited from Comparable[Version]

Inherited from AnyRef

Inherited from Any

Ungrouped