public class GroovyActionsServiceImpl extends Object implements GroovyActionsService
Constructor and Description |
---|
GroovyActionsServiceImpl() |
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 |
onDestroy() |
void |
postConstruct() |
void |
remove(String id)
Remove a groovy action
|
void |
save(String actionName,
String groovyScript)
Save a groovy action from a groovy file
|
void |
setActionExecutorDispatcher(ActionExecutorDispatcher actionExecutorDispatcher) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setDefinitionsService(DefinitionsService definitionsService) |
void |
setGroovyActionsRefreshInterval(Integer groovyActionsRefreshInterval) |
void |
setPersistenceService(PersistenceService persistenceService) |
void |
setSchedulerService(SchedulerService schedulerService) |
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public void setDefinitionsService(DefinitionsService definitionsService)
public void setPersistenceService(PersistenceService persistenceService)
public void setGroovyActionsRefreshInterval(Integer groovyActionsRefreshInterval)
public void setSchedulerService(SchedulerService schedulerService)
public void setActionExecutorDispatcher(ActionExecutorDispatcher actionExecutorDispatcher)
public groovy.lang.GroovyShell getGroovyShell()
GroovyActionsService
getGroovyShell
in interface GroovyActionsService
public void postConstruct()
public void onDestroy()
public void save(String actionName, String groovyScript)
GroovyActionsService
save
in interface GroovyActionsService
actionName
- actionNamegroovyScript
- script to savepublic void remove(String id)
GroovyActionsService
remove
in interface GroovyActionsService
id
- of the action to removepublic groovy.lang.GroovyCodeSource getGroovyCodeSource(String id)
GroovyActionsService
getGroovyCodeSource
in interface GroovyActionsService
id
- of the action to getCopyright © 2014–2022 Apache Software Foundation. All rights reserved.