Interface SubflowAttributeMapper

All Known Implementing Classes:
GenericSubflowAttributeMapper

public interface SubflowAttributeMapper
A strategy interface used by a subflow state to map subflow input and output attributes.
Author:
Keith Donald
  • Method Details

    • createSubflowInput

      MutableAttributeMap<Object> createSubflowInput(RequestContext context)
      Create a map of attributes that should be passed as input to a subflow.
      Parameters:
      context - the current request execution context
      Returns:
      a map of attributes to pass as input
    • mapSubflowOutput

      void mapSubflowOutput(AttributeMap<?> output, RequestContext context)
      Map output attributes of an ended subflow flow to the resuming parent flow.
      Parameters:
      output - the output attributes returned by the ended subflow
      context - the current request execution context, which gives access to the parent flow scope