Interface ScriptingEventHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean doEvent​(java.lang.String eventScript)
      Deprecated.
      since 1.7
      boolean doEventScript​(java.lang.String eventScript)
      run the Script for the given Event
      boolean handleEvent​(java.lang.String eventName)
      handle the event with the given name by getting the attribute and then executing the eventScript for it
    • Method Detail

      • doEvent

        boolean doEvent​(java.lang.String eventScript)
        Deprecated.
        since 1.7
        run the Script for the given Event
        Parameters:
        eventScript -
        Returns:
        true if the script is empty or the result of the script
      • doEventScript

        boolean doEventScript​(java.lang.String eventScript)
        run the Script for the given Event
        Parameters:
        eventScript -
        Returns:
        true if the script is empty or the result of the script
        Since:
        1.7
      • handleEvent

        boolean handleEvent​(java.lang.String eventName)
        handle the event with the given name by getting the attribute and then executing the eventScript for it
        Parameters:
        eventName -
        Returns:
        the result of doEventScript