abstract class Identity[A] extends AnyRef
This is the "Name" for the Identifiable class. These usually consist of two things: ID: A simple string that acts as an Identifier Version: An optional string that shows which version of a step in a pipeline the Identifiable originated from.
- A
The type of the Identifiable that this came from. In the example, this would be Identity[GitID], Identity[GitRepo], Identity[GitCommitInfo], and Identity[GitCommitGroups] for their respective data maps.
- Alphabetic
- By Inheritance
- Identity
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Identity()
Abstract Value Members
-
abstract
def
dropVersion(): BasicIdentity[A]
Creates a Basic Identity
Creates a Basic Identity
- returns
-
abstract
def
getId(): String
- returns
A simple string that acts as an Identifier for the Identifiable.
-
abstract
def
getVersion(): Option[String]
- returns
An optional string that shows which version of a step the Identifiable originated from.
- abstract def serialize(): String
- abstract def toJsonFormat(): JsValue
-
abstract
def
withVersion(v: String): VersionedIdentity[A]
Creates a Versioned Identity
Creates a Versioned Identity
- v
The version that we want to add.
- returns
A VersionedIdentity with version v.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Identity[A], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Identity[A]) ⇒ Boolean, msg: ⇒ Any): Identity[A]
- def ensuring(cond: (Identity[A]) ⇒ Boolean): Identity[A]
- def ensuring(cond: Boolean, msg: ⇒ Any): Identity[A]
- def ensuring(cond: Boolean): Identity[A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Identity[A], B)