Interface Workflow.Effect.TransitionalEffect<T>

All Superinterfaces:
Workflow.Effect<T>
Enclosing interface:
Workflow.Effect<T>

public static interface Workflow.Effect.TransitionalEffect<T> extends Workflow.Effect<T>
A workflow effect type that contains information about the transition to the next step. This could be also a special transition to pause or end the workflow.
  • Method Details

    • thenReply

      <R> Workflow.Effect<R> thenReply(R message)
      Reply after for example updateState.
      Type Parameters:
      R - The type of the message that must be returned by this call.
      Parameters:
      message - The payload of the reply.
      Returns:
      A message reply.
    • thenReply

      <R> Workflow.Effect<R> thenReply(R message, Metadata metadata)
      Reply after for example updateState.
      Type Parameters:
      R - The type of the message that must be returned by this call.
      Parameters:
      message - The payload of the reply.
      metadata - The metadata for the message.
      Returns:
      A message reply.