public interface ScriptOnResourceOp extends SPIOperation
ScriptOnConnectorOp
, which runs a script
in the context of a particular connector.)
A connector that intends to support
ScriptOnResourceApiOp
should implement this interface. Each connector that implements
this interface must document which script languages the connector supports,
as well as any supported OperationOptions
.
Modifier and Type | Method and Description |
---|---|
Object |
runScriptOnResource(ScriptContext request,
OperationOptions options)
Run the specified script on the target resource
that this connector manages.
|
Object runScriptOnResource(ScriptContext request, OperationOptions options)
request
- The script and arguments to run.options
- Additional options that control
how the script is run.ObjectSerializerFactory
for a list of supported types.Copyright © 2013. All Rights Reserved.