public interface GroovyActionsService
GroovyAction
Modifier and Type | Method and Description |
---|---|
groovy.lang.GroovyCodeSource |
getGroovyCodeSource(String id)
Get a groovy code source object by an id
|
groovy.lang.GroovyShell |
getGroovyShell()
Get an instantiated groovy shell object
|
void |
remove(String id)
Remove a groovy action
|
void |
save(String actionName,
String groovyScript)
Save a groovy action from a groovy file
|
void save(String actionName, String groovyScript)
actionName
- actionNamegroovyScript
- script to savevoid remove(String id)
id
- of the action to removegroovy.lang.GroovyCodeSource getGroovyCodeSource(String id)
id
- of the action to getgroovy.lang.GroovyShell getGroovyShell()
Copyright © 2014–2023 Apache Software Foundation. All rights reserved.