Interface FlowActionHandler

  • All Known Implementing Classes:
    ComposedFlowActionHandler

    public interface FlowActionHandler
    An interface that defines contract for performing the custom logic for the configurable flow widget. It is used together with CustomType in the navigation section for the aforementioned widget. Note: Here is an example:
             <navigation id="stepId">
    	 	<custom align="left" handler="spring-bean-id" label="custom"/>
    	  </navigation>
    	 
     
    Note: handler="spring-bean-id" refers to the bean defined in the spring application context and it is of type FlowActionHandler
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void perform​(CustomType customType, FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,​java.lang.String> parameters)
      Method that is invoked when the custom button in the configurable flow widget is clicked - this method should contain custom logic.
    • Method Detail

      • perform

        void perform​(CustomType customType,
                     FlowActionHandlerAdapter adapter,
                     java.util.Map<java.lang.String,​java.lang.String> parameters)
        Method that is invoked when the custom button in the configurable flow widget is clicked - this method should contain custom logic.
        Parameters:
        customType - given step configuration
        adapter - adapter that controls the configurable widget flow
        parameters - current parameters