Interface WorkflowPlan.Step

All Known Subinterfaces:
WorkflowPlan.Invocation
All Known Implementing Classes:
WorkflowPlan.AgentStep, WorkflowPlan.CallStep, WorkflowPlan.EmailStep, WorkflowPlan.EndStep, WorkflowPlan.JoinStep, WorkflowPlan.ScriptStep, WorkflowPlan.SendStep, WorkflowPlan.SplitStep, WorkflowPlan.SubflowStep, WorkflowPlan.TaskStep, WorkflowPlan.WaitStep
Enclosing class:
WorkflowPlan

A compiled node. type() is the element name and targets() the nodes it can move to. Sealed, so dispatch over it is exhaustive.
  • Method Details

    • id

      String id()
    • type

      String type()
    • targets

      List<String> targets()
    • boundaries

      default List<WorkflowPlan.Boundary> boundaries()
    • async

      default boolean async()
      Whether the node parks on arrival and runs on a worker of its own once that walk commits, so a slow or failing activity holds up and undoes nothing before it.
    • catching

      default WorkflowPlan.Boundary catching(boolean declared, String code)
      The boundary that catches this failure, or null. Tried in declaration order; one without a code catches any failure, one with a code only a declared failure of that name.