-
instanceId
String instanceId
Id to identify the callback to know which model instance has been started, e.g. "IDVV.14". The model instance will use
this as its sender id.
-
softwareCode
String softwareCode
Code for the software to run, will be looked up in a table on the local computer to determine the path to start the
software on that computer. Example: "java". If the softwarePath is defined, softwareCode can be an empty String (0
characters).
-
argsBefore
String argsBefore
Arguments that the software needs, before the model file path and name; e.g. "–Xmx2G -jar" in case of a Java model. This
String can be empty (0 characters).
-
modelPath
String modelPath
The actual path on the target computer where the model resides, including the model that needs to be run. This String
cannot be empty.
-
argsAfter
String argsAfter
Arguments that the software or the model needs, after the model file path and name; e.g. arguments for the model itself
to run like a data file or a data location . This String can be empty (0 characters), but usually we would want to send
the port number(s) or a location where the model can find it as well as the name under which the model was registered.
-
workingDirectory
String workingDirectory
Full path on the target computer that will be used as the working directory. Some files may be temporarily stored there.
If the working directory does not exist yet, it will be created.
-
redirectStdin
String redirectStdin
Place to get user input from in case a model asks for it (it shouldn't, by the way).
-
redirectStdout
String redirectStdout
Place to send the output to that the model normally displays on the console. If this is not redirected, the memory buffer
for the stdout might get full, and the model might stop as a result. On Linux systems, this often redirected to
/dev/null. On Windows systems, this can e.g., be redirected to a file "out.txt" in the current working directory. For
now, it has to be a path name (including /dev/null as being acceptable). If no full path is given, the filename is
relative to the working directory.
-
redirectStderr
String redirectStderr
Place to send the error messages to that the model normally displays on the console. If this is not redirected, the
memory buffer for the stderr might get full, and the model might stop as a result. On Linux systems, this often
redirected to /dev/null. On Windows systems, this can e.g., be redirected to a file "err.txt" in the current working
directory. For now, it has to be a path name (including /dev/null as being acceptable). If no full path is given, the
filename is relative to the working directory.
-
deleteWorkingDirectory
boolean deleteWorkingDirectory
Whether to delete the working directory after the run of the model or not.
-
deleteStdout
boolean deleteStdout
Whether to delete the redirected stdout after running or not (in case it is stored in a different place than the working
directory).
-
deleteStderr
boolean deleteStderr
Whether to delete the redirected stderr after running or not (in case it is stored in a different place than the working
directory).