Detailed Description
The JavaScriptBuilder aggregates JavaScript properties from FlowElements in the Pipeline.
This JavaScript also (when needed) generates a fetch request to retrieve additional properties populated with data from the client side It depends on the JSON Bundler element (both are automatically added to a Pipeline unless specifically removed) for its list of properties. The results of the JSON Bundler should also be used in a user-specified endpoint which retrieves the JSON from the client side. The JavaScriptBuilder is constructed with a url for this endpoint.
Inheritance diagram for fiftyone\pipeline\core\JavascriptBuilderElement:
Collaboration diagram for fiftyone\pipeline\core\JavascriptBuilderElement:
Public Member Functions
| getEvidenceKeyFilter ()
The JavaScriptBuilder captures query string evidence and headers for detecting whether the request is http or https.
|
| processInternal (FlowData $flowData)
The JavaScriptBundler collects client side javascript to serve.
|
|
| __construct ()
A default dummy constructor is needed for there are classes inheriting this class deeper than 1-level of inheritance and calling parent::__construct() in their explicit constructors. More...
|
| process (FlowData $flowData)
General wrapper function that calls a FlowElement's processInternal method.
|
| getEvidenceKeyFilter ()
|
| filterEvidence (FlowData $flowData)
|
| filterEvidenceKey (string $key)
|
| onRegistration (Pipeline $pipeline)
Callback called when an engine is added to a pipeline.
|
| processInternal (FlowData $flowData)
Process FlowData - this is process function is usually overridden by specific FlowElements to do their core work.
|
| getProperties ()
Get properties Usually overridden by specific FlowElements. More...
|
| updatePropertyList ()
Update a FlowElement's property list This is used by elements that are only aware of their properties at a later stage, such as cloud request based FlowElements or FlowElements that change their properties later based on new datafiles.
|
string
| $dataKey = 'javascriptbuilder'
|