◆ add() [1/2]
fiftyone\pipeline\core\PipelineBuilder::add | ( | $flowElement | ) |
Add FlowElement to be used in Pipeline.
- Parameters
-
- FlowElement -
◆ add() [2/2]
fiftyone\pipeline\core\PipelineBuilder::add ( $flowElement ) Add FlowElement to be used in Pipeline.
- Parameters
-
- FlowElement -
◆ addLogger() [1/2]
fiftyone\pipeline\core\PipelineBuilder::addLogger ( $logger ) Add an instance of the logger class to the Pipeline.
- Parameters
-
- Logger -
- Returns
- PipelineBuilder
◆ addLogger() [2/2]
fiftyone\pipeline\core\PipelineBuilder::addLogger ( $logger ) Add an instance of the logger class to the Pipeline.
- Parameters
-
- Logger -
- Returns
- PipelineBuilder
◆ build() [1/2]
◆ build() [2/2]
◆ buildFromConfig() [1/2]
fiftyone\pipeline\core\PipelineBuilder::buildFromConfig ( $fileOrConfig ) Build from a JSON configuration file This JSON file should look like the following `{ "PipelineOptions": { "Elements": [ { "BuilderName": // Name of element as in use statement, "BuildParameters": { // An object of parameters passed to the constructor } }] }`.
- Parameters
-
- string - file name of the file to load config, or alternatively pass a config object already read from file
◆ buildFromConfig() [2/2]
fiftyone\pipeline\core\PipelineBuilder::buildFromConfig ( $fileOrConfig ) Build from a JSON configuration file This JSON file should look like the following `{ "PipelineOptions": { "Elements": [ { "BuilderName": // Name of element as in use statement, "BuildParameters": { // An object of parameters passed to the constructor } }] }`.
- Parameters
-
- string - file name of the file to load config, or alternatively pass a config object already read from file