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
Constructors Constructor Description ScriptOnResourceImpl(ConnectorOperationalContext context, Connector connector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
runScriptOnResource(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 Detail
-
ScriptOnResourceImpl
public ScriptOnResourceImpl(ConnectorOperationalContext context, Connector connector)
-
-
Method Detail
-
runScriptOnResource
public Object runScriptOnResource(ScriptContext request, OperationOptions options)
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.
-
-