Packages

case class SemVer(major: Long, minor: Long, patch: Long, preRelease: Option[String], build: Option[String]) extends Ordered[SemVer] with Product with Serializable

Semantic Version

major

major number

minor

minor number

patch

patch number

preRelease

preRelease(optional)

build

build(optional)

Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[SemVer], Comparable[SemVer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemVer
  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 SemVer(major: Long, minor: Long, patch: Long, preRelease: Option[String], build: Option[String])

    major

    major number

    minor

    minor number

    patch

    patch number

    preRelease

    preRelease(optional)

    build

    build(optional)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: SemVer): Boolean
    Definition Classes
    Ordered
  4. def <=(that: SemVer): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: SemVer): Boolean
    Definition Classes
    Ordered
  7. def >=(that: SemVer): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val build: Option[String]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def compare(that: SemVer): Int

    compare whit version see https://semver.org/#spec-item-11

    compare whit version see https://semver.org/#spec-item-11

    that

    SemVer

    returns

    >

    Definition Classes
    SemVer → Ordered
  12. def compareTo(that: SemVer): Int
    Definition Classes
    Ordered → Comparable
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val major: Long
  17. val minor: Long
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def original: String
  22. val patch: Long
  23. val preRelease: Option[String]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[SemVer]

Inherited from Comparable[SemVer]

Inherited from AnyRef

Inherited from Any

Ungrouped