◆ constructor()
| Pipeline::constructor | ( | flowElements = [],
|
|
suppressProcessExceptions = false,
|
|||
dataFileUpdateService = null
|
|||
| ) |
inline
Constructor for Pipeline.
- Parameters
-
- {FlowElement[]} - flowElements list of FlowElements to add to the Pipeline
- {boolean} - suppressProcessExceptions If true then pipeline will suppress exceptions added to FlowData.
- {DataFileUpdateService} - dataFileUpdateService Service that registers FlowElements
A logger for emitting messages @type {EventEmitter}
@type {object}
@type {object}
◆ createFlowData()
◆ getElement()
Pipeline::getElement ( key ) inlineget a FlowElement by its dataKey
- Parameters
-
- {string} - key the datakey of the FlowElement
- Returns
- {FlowElement} the FlowElement for the datakey
◆ log()
Pipeline::log ( type, message ) inlineShorthand to trigger a message on the pipeline's eventEmitter.
- Parameters
-
- {string} - type type of message
- {*} - message message to store in the log
◆ on()
Pipeline::on ( listener, callback ) inlineMethod to attach listeners to the logger Shorthand access to the enclosed event emitter.
- Parameters
-
- {string} - listener type of message to listen to
- {Function} - callback a callback to react to the log
◆ updatePropertyDataBaseForElement()
Pipeline::updatePropertyDataBaseForElement ( flowElement ) inlineUpdate pipeline's property database for FlowElement.
- Parameters
-
- {FlowElement} - flowElement FlowElement to update
- Returns
- {void}
