Interface ActionHandler

All Superinterfaces:
All Known Implementing Classes:

@NonNullByDefault public interface ActionHandler extends ModuleHandler
This interface should be implemented by external modules which provide functionality for processing Action modules. This functionality is called to execute the Actions of the Rule when it is needed.
Yordan Mihaylov - Initial contribution, Ana Dimova - Initial contribution, Vasil Ilchev - Initial contribution
See Also:
  • Method Details

    • execute

      @Nullable Map<String,Object> execute(Map<String,Object> context)
      Called to execute an Action of the Rule when it is needed.
      context - an unmodifiable map containing the outputs of the Trigger that triggered the Rule, the outputs of all preceding Actions, and the inputs for this Action.
      a map with the outputs which are the result of the Action's execution (may be null).