Class Workflow


  • public abstract class Workflow
    extends Object
    Common interface for workflow implementations.
    • Constructor Detail

      • Workflow

        public Workflow()
    • Method Detail

      • create

        public abstract WorkflowStub create()
        Executes the workflow logic.
        Returns:
        A WorkflowStub.
      • run

        public void run​(WorkflowContext ctx)
        Executes the workflow logic.
        Parameters:
        ctx - provides access to methods for scheduling durable tasks and getting information about the current workflow instance.