Packages

final case class Required[A] extends ZWorkflowState[A] with Product with Serializable

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def :=(value: A): Required.this.type

    Replaces the state value

    Replaces the state value

    value

    new state value

    returns

    this state updated

    Definition Classes
    ZWorkflowState
  4. def =!=(that: A): Boolean

    Returns true if this State is initialized and the equals to the provided value.

    Returns true if this State is initialized and the equals to the provided value. Otherwise, returns false.

    that

    value to check with

    returns

    whenever they're equal

    Definition Classes
    ZWorkflowState
  5. def =:=(that: A): Boolean

    Returns true if this State is initialized and the equals to the provided value.

    Returns true if this State is initialized and the equals to the provided value. Otherwise, returns false.

    that

    value to check with

    returns

    whenever they're equal

    Definition Classes
    ZWorkflowState
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def exists(p: (A) => Boolean): Boolean

    Returns true if this State is initialized and the predicate $p returns true when applied to this state value.

    Returns true if this State is initialized and the predicate $p returns true when applied to this state value. Otherwise, returns false.

    p

    the predicate to test

    Definition Classes
    RequiredZWorkflowState
  11. def forall(p: (A) => Boolean): Boolean

    Returns true if this state is uninitialized or the predicate p returns true when applied to this state value.

    Returns true if this state is uninitialized or the predicate p returns true when applied to this state value.

    p

    the predicate to test

    Definition Classes
    RequiredZWorkflowState
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. def setTo(value: A): Required.this.type

    Replaces the state value

    Replaces the state value

    value

    new state value

    returns

    this state updated

    Definition Classes
    RequiredZWorkflowState
  19. def setToIf(p: Boolean)(value: => A): Required.this.type

    Updates the state when the predicate holds

    Updates the state when the predicate holds

    p

    the condition

    value

    possible new state value

    returns

    this state updated

    Definition Classes
    ZWorkflowState
  20. def setToUnless(p: Boolean)(value: => A): Required.this.type

    Updates the state unless the predicate holds

    Updates the state unless the predicate holds

    p

    the condition

    value

    possible new state value

    returns

    this state updated

    Definition Classes
    ZWorkflowState
  21. def snapshot: A

    Takes a snapshot of the state or throws an error

    Takes a snapshot of the state or throws an error

    returns

    the state value

    Definition Classes
    ZWorkflowState
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  22. def snapshotOf[B](f: (A) => B): B

    Takes a snapshot of the state applying a function to it ors throw an error

    Takes a snapshot of the state applying a function to it ors throw an error

    f

    arbitrary function

    returns

    the result of function application on this state

    Definition Classes
    ZWorkflowState
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  23. def snapshotOrElse(default: => A): A

    Takes a snapshot of the state or returns the provided default value

    Takes a snapshot of the state or returns the provided default value

    default

    the default value

    returns

    the state or default value

    Definition Classes
    RequiredZWorkflowState
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toEither[E](left: => E): Either[E, A]

    Converts this state to Either

    Converts this state to Either

    E

    error type

    left

    error value which will be used when state is not initialized

    returns

    the state value or Left

    Definition Classes
    RequiredZWorkflowState
  26. def toOption: Option[A]

    Converts this state to Option

    Converts this state to Option

    returns

    the state value or None

    Definition Classes
    RequiredZWorkflowState
  27. def update(f: (A) => A): Required.this.type

    Updates the state value

    Updates the state value

    f

    updating function

    returns

    this state updated

    Definition Classes
    RequiredZWorkflowState
  28. def updateIf(p: Boolean)(f: (A) => A): Required.this.type

    Updates the state when the predicate holds

    Updates the state when the predicate holds

    p

    the condition

    f

    updating function

    returns

    this state updated

    Definition Classes
    ZWorkflowState
  29. def updateUnless(p: Boolean)(f: (A) => A): Required.this.type

    Updates the state unless the predicate holds

    Updates the state unless the predicate holds

    p

    the condition

    f

    updating function

    returns

    this state updated

    Definition Classes
    ZWorkflowState
  30. def updateWhen(pf: PartialFunction[A, A]): Required.this.type

    Updates the state when partial function matches

    Updates the state when partial function matches

    pf

    updating function

    returns

    this state updated

    Definition Classes
    RequiredZWorkflowState
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ZWorkflowState[A]

Inherited from AnyRef

Inherited from Any

Ungrouped