Interface StepContext

All Superinterfaces:
BaseContext
All Known Implementing Classes:
StepContextImpl

public interface StepContext extends BaseContext
  • Method Details

    • getAttempt

      int getAttempt()
      Returns the current retry attempt number (0-based).
    • getCurrentContext

      static StepContext getCurrentContext()
      Description copied from interface: BaseContext
      Gets the current context (DurableContext or StepContext) for this thread.
      Returns:
      the current context or null if not set