Interface SHandler<T extends SEvent>

All Superinterfaces:
Serializable
All Known Subinterfaces:
SProcessInstanceHandler<T>
All Known Implementing Classes:
AbstractUpdateHandler, ArchiveProcessInstancesHandler, FlowNodeHandler, GatewayHandler, ProcessInstanceHandler

public interface SHandler<T extends SEvent> extends Serializable
Author:
Christophe Havard, Matthieu Chaffotte
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(T event)
    Performs the action corresponding to the given Event
    Returns a unique identifier for each instance of the Handler
    boolean
    isInterested(T event)
    Precise if the current Handler is interested by the given event.
  • Method Details

    • execute

      void execute(T event) throws SHandlerExecutionException
      Performs the action corresponding to the given Event
      Throws:
      SHandlerExecutionException
    • isInterested

      boolean isInterested(T event)
      Precise if the current Handler is interested by the given event. If so, it could run the execute(SEvent e) method.
    • getIdentifier

      String getIdentifier()
      Returns a unique identifier for each instance of the Handler