object VersionTree extends Serializable
Group - continuous, but possibly *unclosed* sequence of child versions (opposed to always closed Set?), e.g. 2,3 additions of 0 revision (but 0,1,4,5 are "outside")
Set - continuous and always closed sequence of child versions (opposed to possibly *unclosed* Group) e.g. 0,1,2,3,4,5 additions of 0 revision (nothing else in the revision)
Highest - largest number in a whole Set (5th addition) Latest - largest number in a whole Group (3rd addition)
case class X is a group, it has information about all its Xs and children Ys
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VersionTree
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
sealed
trait
AddingError extends AnyRef
Error happened during adding a particular version to the tree
- type Addition = Int
- final case class Additions extends AnyVal with Product with Serializable
-
sealed
trait
BuildingError extends AnyRef
Error happened during tree building
- type Model = Int
- type Revision = Int
- final case class Revisions extends AnyVal with Product with Serializable
-
final
case class
VersionList extends AnyVal with Product with Serializable
List of consistent naturally ordered versions, entirely isomorphic to the original tree
Value Members
-
val
Root: VersionTree
A tree with only 1-0-0
- def build(versions: List[Full]): Either[BuildingError, VersionTree]
- object AddingError
- object Additions extends Serializable
- object BuildingError