Packages

case class SemanticVersion(majorVersion: Int, minorVersion: Int) extends Comparable[SemanticVersion] with Product with Serializable

Encapsulate a component version for the convenience of version checks.

Linear Supertypes
Serializable, Serializable, Product, Equals, Comparable[SemanticVersion], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemanticVersion
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Comparable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SemanticVersion(majorVersion: Int, minorVersion: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(targetVersionString: String): Boolean
  4. def <=(targetVersionString: String): Boolean
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ===(targetVersionString: String): Boolean
  7. def >(targetVersionString: String): Boolean
  8. def >=(targetVersionString: String): Boolean
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def compareTo(v: SemanticVersion): Int
    Definition Classes
    SemanticVersion → Comparable
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isVersionAtLeast(targetVersionString: String): Boolean
  17. def isVersionAtMost(targetVersionString: String): Boolean
  18. def isVersionEqualTo(targetVersionString: String): Boolean
  19. val majorVersion: Int
  20. val minorVersion: Int
  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. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toDouble: Double

    Returning a double in format of "majorVersion.minorVersion".

    Returning a double in format of "majorVersion.minorVersion". Note: Not suitable for version comparison, only for logging.

  26. def toString(): String
    Definition Classes
    SemanticVersion → AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Comparable[SemanticVersion]

Inherited from AnyRef

Inherited from Any

Ungrouped