SmappStateProcessingAction class

This class is used by the state or StatePlugin to communicate to the "<b>Processing Engine</b>" on the requested follow-up transition.

Syntax

public class SmappStateProcessingAction

Remarks

The processing engine treats the requested follow-up transition as a suggestion, and executes it when appropriate.

Currently, the processing engine supports three actions: continue, wait, and terminate.

This SmappStateProcessingAction is passed by the processing engine to the state as an input parameter to the StatePlugin#processState(SmappStateProcessingContext, SmappStateProcessingAction) method, that is custom implemented by each state. At the end of this method, the implementation need to use the provided SmappStateProcessingAction to call one of the provided methods. Otherwise, the processing engine will automatically terminate the application flow.