class Collect
The Collect process collects results from the rest of the process network. It reads an inputObject from the input channel which it then processes using methods defined in the results class.
Methods required by class resultClassName: initClass( initialData ) collector( inputObject ) finalise( finaliseData ) Behaviour: resultsClass.initClass(initData) o = input.read() while ( o != UniversalTerminator ) resultClass.collector(o) o = input.read() resultsClass.finalise(finaliseData)
input
- The one2one input channel used to receive resultsrDetails
- A ResultDetails object containing data pertaining to result class used by the Collect process, it MUST be specified.logFileName
- is a string value specifying that the log output should be written to a file rather than the console.
The filename string should contain the full path name. The suffix.log will be added to the file name.Type | Name and description |
---|---|
int |
collected |
ChannelInput |
input |
String |
logFileName |
ResultDetails |
rDetails |
Constructor and description |
---|
Collect
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk