◆ constructor()
FlowData::constructor | ( | pipeline | ) |
constructor for flowData created by a pipeline.
Called by a pipeline's createFlowData() method
- Parameters
-
- {Pipeline} - pipeline the pipeline to add the FlowData to
\r\n
FlowData is created by a specific pipeline It collects evidence set by the user It passes evidence to flowElements in the pipeline These elements can return ElementData or populate an errors object.
constructor (pipeline)
constructor for flowData created by a pipeline. More...
| |
getEvidenceDataKey ()
Get back an object that lists all evidence that will be used by any flowElements in the flowData's parent pipeline. More...
| |
stop ()
Stop a flowData from processing any further flowElements.
| |
setError (error, flowElement)
Set an error on the flowData (usually triggered by something going wrong in a flowElement's process function) More...
| |
process ()
Processes the flowData (running the process methods on all connected) More...
| |
setElementData (data)
Add to the flowData object with a class derived from ElementData. More...
| |
get (flowElementDataKey)
Get ElementData by a flowElement's data key. More...
| |
getFromElement (flowElement) | |
getWhere (metaKey, metaValueorFuncton)
get an object ({key:value} store) of elementData based on a metadata key and value, alternatively pass in a filtering function to manually filter available propeties More...
|
FlowData::constructor | ( | pipeline | ) |
constructor for flowData created by a pipeline.
Called by a pipeline's createFlowData() method
FlowData::get | ( | flowElementDataKey | ) |
Get ElementData by a flowElement's data key.
FlowData::getEvidenceDataKey | ( | ) |
Get back an object that lists all evidence that will be used by any flowElements in the flowData's parent pipeline.
FlowData::getFromElement | ( | flowElement | ) |
get ElementData by a FlowElement object
FlowData::getWhere | ( | metaKey, | |
metaValueorFuncton | |||
) |
get an object ({key:value} store) of elementData based on a metadata key and value, alternatively pass in a filtering function to manually filter available propeties
FlowData::process | ( | ) |
Processes the flowData (running the process methods on all connected)
FlowData::setElementData | ( | data | ) |
Add to the flowData object with a class derived from ElementData.
FlowData::setError | ( | error, | |
flowElement | |||
) |
Set an error on the flowData (usually triggered by something going wrong in a flowElement's process function)