Interface GroovyActionsService

    • Method Detail

      • save

        void save​(String actionName,
                  String groovyScript)
        Save a groovy action from a groovy file
        Parameters:
        actionName - actionName
        groovyScript - script to save
      • remove

        void remove​(String id)
        Remove a groovy action
        Parameters:
        id - of the action to remove
      • getGroovyCodeSource

        groovy.lang.GroovyCodeSource getGroovyCodeSource​(String id)
        Get a groovy code source object by an id
        Parameters:
        id - of the action to get
        Returns:
        Groovy code source
      • getGroovyShell

        groovy.lang.GroovyShell getGroovyShell()
        Get an instantiated groovy shell object
        Returns:
        GroovyShell