africa.shuwari.version

Members list

Type members

Classlikes

object MajorVersion

Attributes

Supertypes
class Newtype[Int]
class NewtypeCustom[Int]
class Object
trait Matchable
class Any
Self type
object MinorVersion

Attributes

Supertypes
class Newtype[Int]
class NewtypeCustom[Int]
class Object
trait Matchable
class Any
Self type
object PatchNumber

Attributes

Supertypes
class Newtype[Int]
class NewtypeCustom[Int]
class Object
trait Matchable
class Any
Self type
final case class PreRelease(classifier: PreReleaseClassifier, number: Option[PreReleaseNumber])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PreRelease

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
PreRelease.type
sealed abstract class PreReleaseClassifier(val aliases: NonEmptyList[String]) extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Alpha.type
object Beta.type
object Milestone.type
object ReleaseCandidate.type
object Snapshot.type
object Unclassified.type
Show all

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object PreReleaseNumber extends Newtype[Int]

Attributes

Supertypes
class Newtype[Int]
class NewtypeCustom[Int]
class Object
trait Matchable
class Any
Self type
final case class Version(majorVersion: MajorVersion, minorVersion: MinorVersion, patchNumber: PatchNumber, preRelease: Option[PreRelease])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Version

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Version.type
object VersionParser

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

type MajorVersion = Type
type MinorVersion = Type
type PatchNumber = Type
type PreReleaseNumber = Type

Extensions

Extensions

extension [A <: Newtype[Int]](a: A)
def increment(v: Type): Type
extension [A <: VersionNumberField](a: A)
def zero: Type
extension (num: MajorVersion)
def isZero: Boolean
def value: Int
extension (num: MinorVersion)
def value: Int
extension (num: PatchNumber)
def value: Int
extension (num: PreReleaseNumber)
def value: Int