@org.osgi.annotation.versioning.ProviderType interface GroovyConsoleService
Service for executing and saving Groovy scripts.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract boolean |
addScheduledJob(JobProperties jobProperties)Run or schedule a Groovy Console job execution. |
|
abstract List<ActiveJob> |
getActiveJobs()Get a list of all active jobs. |
|
abstract RunScriptResponse |
runScript(ScriptContext scriptContext)Run a Groovy script with the given script context. |
|
abstract SaveScriptResponse |
saveScript(ScriptData scriptData)Save a Groovy script with the file name and content provided in the given script data. |
Run or schedule a Groovy Console job execution.
jobProperties - job propertiesRun a Groovy script with the given script context.
scriptContext - script contextSave a Groovy script with the file name and content provided in the given script data.
scriptData - script data