Interface DynamicUpdateHandler


public interface DynamicUpdateHandler
Use DynamicUpdateHandler to process any update dynamically. This is useful for library-level code and implementation of DSLs.

Use Workflow.registerListener(Object) to register an implementation of the DynamicUpdateListener. Only one such listener can be registered per workflow execution.

When registered any updates which don't have a specific handler will be delivered to it.

See Also:
  • Method Details

    • handleValidate

      default void handleValidate(String updateName, EncodedValues args)
    • handleExecute

      Object handleExecute(String updateName, EncodedValues args)
    • getDescription

      default String getDescription()
      Short description of the Update handler.
    • getUnfinishedPolicy

      default HandlerUnfinishedPolicy getUnfinishedPolicy(String updateName)
      Returns the actions taken if a workflow exits with a running instance of this handler.