@org.osgi.annotation.versioning.ConsumerType interface ScriptContext
Context variables for Groovy script execution.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract String |
getData()JSON or String data to be consumed by script. |
|
abstract ByteArrayOutputStream |
getOutputStream()Stream for capturing script output. |
|
abstract PrintStream |
getPrintStream()Print stream for use in script binding. |
|
abstract ResourceResolver |
getResourceResolver()Resource resolver for script execution. |
|
abstract String |
getScript()Groovy script content to be executed. |
|
abstract String |
getUserId()User ID for current request or session. |
JSON or String data to be consumed by script.
Stream for capturing script output.
Print stream for use in script binding.
Resource resolver for script execution.
Groovy script content to be executed.
User ID for current request or session.