object Status
- Alphabetic
- By Inheritance
- Status
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Complete[+E](errors: Seq[E]) extends Status[E] with Iterable[E] with Product with Serializable
Indicates that a unit of work has finished.
Indicates that a unit of work has finished.
When
errorsis empty (i.e.,this == complete) this represents clean completion. Whenerrorsis non-empty one or more errors were accumulated. The signal is passed to Evolution.evolve, which may select a different continuation stage than it would for Success. Enclosing alterators such asLooporRepeatintercept it as the cue to stop looping and reset for the next cycle.Completedominates Success in composition. TwoCompletestatuses are merged by concatenating their error sequences.Because
CompleteextendsIterable[E], individual errors can be iterated directly with afor-comprehension orforeach.- E
the error type (covariant)
- errors
the accumulated error values; empty for a clean completion
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val complete: Complete[Nothing]
A Complete with no errors, representing clean pipeline termination.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error[E](head: E, tail: E*): Complete[E]
Creates a Complete status from one or more error values.
Creates a Complete status from one or more error values.
- head
the first (required) error value
- tail
any additional error values
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object Success extends Status[Nothing] with Product with Serializable
Indicates that a Stage completed successfully and the pipeline may continue.
Indicates that a Stage completed successfully and the pipeline may continue.
Successis the identity element of status composition:Success.combine(s) == sfor anys.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)