Class ReturnsWorkflow

java.lang.Object
com.example.workflows.ReturnsWorkflow

public final class ReturnsWorkflow extends Object
A returns desk whose steps include the function tools of ReturnsWorkflow.OrderSystem. A routing map sends each group of statuses, matched with anyOf, to the tool that handles it, and declines any other status.
  • Method Details

    • create

      public static Workflow create()
      Builds the workflow. It calls no model.
    • main

      public static void main(String[] args)
      Runs the workflow on three orders and prints each step's output.