public class ScriptOnResourceImpl extends ConnectorAPIOperationRunner implements ScriptOnResourceApiOp
NO_TIMEOUT
Constructor and Description |
---|
ScriptOnResourceImpl(ConnectorOperationalContext context,
Connector connector) |
Modifier and Type | Method and Description |
---|---|
Object |
runScriptOnResource(ScriptContext request,
OperationOptions options)
Runs a script on a specific target resource.
|
getConnector, getNormalizer, getOperationalContext
public ScriptOnResourceImpl(ConnectorOperationalContext context, Connector connector)
public Object runScriptOnResource(ScriptContext request, OperationOptions options)
ScriptOnResourceApiOp
runScriptOnResource
in interface ScriptOnResourceApiOp
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.