Interface SHandler<T extends SEvent>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void execute​(T event)
      Performs the action corresponding to the given Event
      java.lang.String getIdentifier()
      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 Detail

      • 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

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