Class SimpleWorkflowFactory

java.lang.Object
com.broadleafcommerce.orchestration.spring.SimpleWorkflowFactory

public class SimpleWorkflowFactory extends Object
Responsible for constructing SimpleWorkflow prototype instances
  • Constructor Details

  • Method Details

    • getWorkflowInstance

      public SimpleWorkflow getWorkflowInstance(String name, @Nullable String id)
      Construct a prototype workflow instance based on the workflow name
      Parameters:
      name - The name of the workflow
      id - The id of the workflow. Optional. Will not be available on initial create.
      Returns:
      The prototype bean instance