Package kalix.javasdk.workflow
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface kalix.javasdk.workflow.AbstractWorkflow.Effect
AbstractWorkflow.Effect.Builder<S>, AbstractWorkflow.Effect.ErrorEffect<T>, AbstractWorkflow.Effect.PersistenceEffectBuilder<T>, AbstractWorkflow.Effect.TransitionalEffect<T>
-
Method Summary
Modifier and TypeMethodDescription<R> AbstractWorkflow.Effect<R>
thenReply
(R message) Reply after for exampleupdateState
.<R> AbstractWorkflow.Effect<R>
Reply after for exampleupdateState
.
-
Method Details
-
thenReply
Reply after for exampleupdateState
.- 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
Reply after for exampleupdateState
.- 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.
-