Class ScriptOnResourceImpl
java.lang.Object
org.identityconnectors.framework.impl.api.local.operations.APIOperationRunner
org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
org.identityconnectors.framework.impl.api.local.operations.ScriptOnResourceImpl
- All Implemented Interfaces:
APIOperation
,ScriptOnResourceApiOp
public class ScriptOnResourceImpl
extends ConnectorAPIOperationRunner
implements ScriptOnResourceApiOp
-
Field Summary
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionScriptOnResourceImpl
(ConnectorOperationalContext context, Connector connector) -
Method Summary
Modifier and TypeMethodDescriptionrunScriptOnResource
(ScriptContext request, OperationOptions options) Runs a script on a specific target resource.Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
-
Constructor Details
-
ScriptOnResourceImpl
-
-
Method Details
-
runScriptOnResource
Description copied from interface:ScriptOnResourceApiOp
Runs a script on a specific target resource.- Specified by:
runScriptOnResource
in interfaceScriptOnResourceApiOp
- Parameters:
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.- Returns:
- The result of the script. The return type must be a type that the
connector framework supports for serialization. See
ObjectSerializerFactory
for a list of supported return types.
-