Class ScriptOnConnectorImpl
- 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.ScriptOnConnectorImpl
-
- All Implemented Interfaces:
APIOperation
,ScriptOnConnectorApiOp
public class ScriptOnConnectorImpl extends ConnectorAPIOperationRunner implements ScriptOnConnectorApiOp
-
-
Field Summary
-
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description ScriptOnConnectorImpl(ConnectorOperationalContext context, Connector connector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
runScriptOnConnector(ScriptContext request, OperationOptions options)
Runs the script.-
Methods inherited from class org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunner
getConnector, getNormalizer, getOperationalContext
-
-
-
-
Constructor Detail
-
ScriptOnConnectorImpl
public ScriptOnConnectorImpl(ConnectorOperationalContext context, Connector connector)
-
-
Method Detail
-
runScriptOnConnector
public Object runScriptOnConnector(ScriptContext request, OperationOptions options)
Description copied from interface:ScriptOnConnectorApiOp
Runs the script.- Specified by:
runScriptOnConnector
in interfaceScriptOnConnectorApiOp
- Parameters:
request
- The script and arguments to run.options
- Additional options that control how the script is run. The framework does not currently recognize any options but specific connectors might. Consult the documentation for each connector to identify supported options.- Returns:
- The result of the script. The return type must be a type that the framework supports for serialization.
- See Also:
for a list of supported return types.
-
-