Package kalix.javasdk.workflow
Interface CommandContext
- All Superinterfaces:
Context,MetadataContext,WorkflowContext
A value based workflow command context.
-
Method Summary
Modifier and TypeMethodDescriptionlongThe id of the command being executed.The name of the command being executed.Methods inherited from interface kalix.javasdk.Context
materializerMethods inherited from interface kalix.javasdk.MetadataContext
metadataMethods inherited from interface kalix.javasdk.workflow.WorkflowContext
getComponentGrpcClient, getGrpcClient, workflowId
-
Method Details
-
commandName
String commandName()The name of the command being executed.- Returns:
- The name of the command.
-
commandId
long commandId()The id of the command being executed.- Returns:
- The id of the command.
-