public interface ScriptOnResourceApiOp extends APIOperation
ScriptOnResourceOp
.
The contract here at the API level is intentionally very loose. Each connector decides what script languages it supports, what running a script on a target resource actually means, and what script options (if any) that connector supports. Refer to the javadoc of each particular connector for more information.
NO_TIMEOUT
Modifier and Type | Method and Description |
---|---|
Object |
runScriptOnResource(ScriptContext request,
OperationOptions options)
Runs a script on a specific target resource.
|
Object runScriptOnResource(ScriptContext request, OperationOptions options)
request
- The script and arguments to run.options
- Additional options which control how the script is run. Please
refer to the connector documentation for supported options.ObjectSerializerFactory
for a list of supported return
types.Copyright © 2019. All rights reserved.