| constructor ({ resourceKey, licenseKey, baseURL })
|
| ready ()
Function for testing if the cloud engine is ready Checks to see if properties and evidence keys have been fetched. More...
|
| processInternal (flowData)
Internal process for cloud engine Returns raw JSON as a "cloud" property in "cloud". More...
|
| fetchProperties ()
Internal process to fetch all the properties available under a resourcekey. More...
|
| getData (flowData)
Internal function to get data from cloud service. More...
|
| getEvidenceKeys ()
Internal function to get evidenceKeys used by cloud resourcekey. More...
|
Public Member Functions inherited from Engine |
| constructor ({ cache, restrictedProperties, dataFile }={})
|
| inCache (flowData)
Checks cache and returns cached result if found. More...
|
| process (flowData)
An engine's process function checks cache for an item (calling inCache) If found it returns the cached object If not found it runs the standard processInternal function and adds it to the cache (if a cache is present) More...
|
| refresh ()
Callback which runs when an attached DataFile is updated Needs to be overriden by a specific engine to do anything. More...
|
| registerDataFile (dataFile)
|
Public Member Functions inherited from FlowElement |
| constructor ({ processInternal, dataKey, properties={}, evidenceKeyFilter }={})
Constructor for flowElement class. More...
|
| onRegistration (pipeline, flowElement)
|
| ready ()
Function called to check if a FlowElement is ready Used when there are asynchronous initialisation steps. More...
|
| processInternal (flowData)
Internal process function for a particular flowElement called (via the flowElement.process() method) when flowData generated by a pipleline is processsed. More...
|
| process (flowData)
To allow actions to take place before and after a FlowElement's processInternal function runs, a process wrapper is run first. More...
|
| updateProperties ()
Call this function to update the properties meta database in all the pipelines this flowElement has been added to. More...
|
| getProperties ()
Get a flowElement's properties. More...
|