Class ScriptOnResourceImpl

    • 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 interface ScriptOnResourceApiOp
        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.