Methods
postRenderCallback()
The postRenderCallback attaches event handlers to elements that this controller has just rendered. In this case, our file input does not replace the placeholder text with the path to the selected file. We have to do that ourselves.
runBatch()
Validate the batch and run it.
runJob(jobParams, lineNumber, lastJobNumber)
Runs a single job from the batch in a separate process and wire up the dartProcess display to track the progress of the external process.
Parameters:
Name | Type | Description |
---|---|---|
jobParams |
JobParams |
Describes the job to run. |
lineNumber |
number |
The line number from the CSV file that describes this job. |
lastJobNumber |
number |
The number of the last line of the CSV file. The function uses this to know when it has completed the last job in the batch. |