Interface AbstractWorkflow.Effect.TransitionalEffect<T>

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

public static interface AbstractWorkflow.Effect.TransitionalEffect<T> extends AbstractWorkflow.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> AbstractWorkflow.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> AbstractWorkflow.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.