Up: Component summary Component

ScalaScript

Scripts Scala source code and executes it via scala.sys.process.Process.

Version 1.0
Bundle tools
Categories External
Specialties generic
Authors Javier Nunez Fontarnau (javier.nunez-fontarnau@helsinki.fi)
Issue tracker View/Report issues
Source files component.xml ScalaScript.scala
Usage Example with default values

Type parameters (generics)

Inputs

Name Type Mandatory Description
scriptFile ScalaSource Optional Scala source file. Either this or the parameter must be given.
in1 INa (generic) Optional Input 1, injected into script as file path string.
in2 INb (generic) Optional Input 2, injected into script as file path string.
in3 INc (generic) Optional Input 3, injected into script as file path string.

Outputs

Name Type Description
out1 OUTa or Array<OUTa> (generic) An optional output that can be used for custom data types.
out2 OUTb or Array<OUTb> (generic) An optional output that can be used for custom data types.
out3 OUTc or Array<OUTc> (generic) An optional output that can be used for custom data types.
scriptOut ScalaSource Final Scala script that was executed. Used for debugging.

Parameters

Name Type Default Description
param1 string "" Extra parameter, visible as param1 (String).
param2 string "" Extra parameter, visible as param2 (String).
param3 string "" Extra parameter, visible as param3 (String).
param4 string "" Extra parameter, visible as param4 (String).
scriptStr string "" Scala source string. Either this or the input must be given. If both are given, this parameter is appended to the input.

Generated 2018-12-16 07:42:17 by Anduril 2.0.0