Interface CommandContext

All Superinterfaces:
Context, MetadataContext

public interface CommandContext extends MetadataContext
A value based workflow command context.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Deprecated.
    not used anymore
    The name of the command being executed.
    Access to tracing for custom app specific tracing.
    The id of the workflow that this context is for.

    Methods inherited from interface akka.javasdk.Context

    selfRegion

    Methods inherited from interface akka.javasdk.MetadataContext

    metadata
  • Method Details

    • commandName

      String commandName()
      The name of the command being executed.
      Returns:
      The name of the command.
    • commandId

      @Deprecated long commandId()
      Deprecated.
      not used anymore
      The id of the command being executed.
    • workflowId

      String workflowId()
      The id of the workflow that this context is for.
      Returns:
      The workflow id.
    • tracing

      Tracing tracing()
      Access to tracing for custom app specific tracing.