Packages

trait PersistenceEffectBuilder[T] extends AnyRef

Source
AbstractWorkflow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistenceEffectBuilder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def end: TransitionalEffect[Void]

    Finish the workflow execution.

    Finish the workflow execution. After transition to end, no more transitions are allowed.

    Annotations
    @ApiMayChange()
  2. abstract def pause: TransitionalEffect[Void]

    Pause the workflow execution and wait for an external input, e.g.

    Pause the workflow execution and wait for an external input, e.g. via command handler.

    Annotations
    @ApiMayChange()
  3. abstract def transitionTo(stepName: String): TransitionalEffect[Void]

    Defines the next step to which the workflow should transition to.

    Defines the next step to which the workflow should transition to.

    The step definition identified by stepName must not have an input parameter. In other words, the next step call (or asyncCall) must have been defined with a parameter less function.

    stepName

    The step name that should be executed next.

    Annotations
    @ApiMayChange()
  4. abstract def transitionTo[I](stepName: String, input: I): TransitionalEffect[Void]

    Defines the next step to which the workflow should transition to.

    Defines the next step to which the workflow should transition to.

    The step definition identified by stepName must have an input parameter of type I. In other words, the next step call (or asyncCall) must have been defined with a function that accepts an input parameter of type I.

    stepName

    The step name that should be executed next.

    input

    The input param for the next step.

    Annotations
    @ApiMayChange()