Package kalix.javasdk.workflowentity
Interface WorkflowEntity.Effect.TransitionalEffect<T>
- All Superinterfaces:
WorkflowEntity.Effect<T>
- Enclosing interface:
- WorkflowEntity.Effect<T>
public static interface WorkflowEntity.Effect.TransitionalEffect<T>
extends WorkflowEntity.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.workflowentity.WorkflowEntity.Effect
WorkflowEntity.Effect.Builder<S>, WorkflowEntity.Effect.ErrorEffect<T>, WorkflowEntity.Effect.PersistenceEffectBuilder<T>, WorkflowEntity.Effect.TransitionalEffect<T> -
Method Summary
Modifier and TypeMethodDescription<R> WorkflowEntity.Effect<R>thenReply(R message) Reply after for exampleupdateState.<R> WorkflowEntity.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.
-