\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.pipeline.core.flowelements.PipelineBuilderBase< T extends PipelineBuilderBase > Class Template Reference abstract

Detailed Description

Abstract base class for all Pipeline builders.

The default implementation is PipelineBuilder.

Parameters
<T> - the builder type

Inheritance diagram for fiftyone.pipeline.core.flowelements.PipelineBuilderBase< T extends PipelineBuilderBase >:

[legend]

Collaboration diagram for fiftyone.pipeline.core.flowelements.PipelineBuilderBase< T extends PipelineBuilderBase >:

[legend]

Public Member Functions

 PipelineBuilderBase ()
Construct a new instance using the default ILoggerFactory implementation returned by the LoggerFactory#getILoggerFactory() method.
 PipelineBuilderBase (ILoggerFactory loggerFactory)
Construct a new instance. More...
Pipeline  build () throws Exception
Build the Pipeline using the FlowElements added. More...
T  addFlowElement (FlowElement element)
Add a FlowElement to the Pipeline to be run in series. More...
T  addFlowElementsParallel (FlowElement[] elements)
Add an array of FlowElements to the Pipeline to be run in parallel. More...
T  addService (PipelineService service)
Add a service to the builder which will be needed by any of the elements being added to the pipeline. More...
T  setAutoCloseElements (boolean autoClose)
Configure the Pipeline to either call dispose on it's child FlowElements when it is disposed or not. More...
T  setSuppressProcessException (boolean suppress)
Configure the Pipeline to either suppress exceptions added to FlowData#getErrors() during processing or to throw them as an aggregate exception once processing is complete. More...

Protected Member Functions

List< FlowElement >  getFlowElements ()
void  addServicesToPipeline (Pipeline pipeline)
Add all known services to a Pipeline to be managed. More...
void  onPreBuild ()
Called just before a pipeline is built.

Protected Attributes

final ILoggerFactory  loggerFactory
The ILoggerFactory used to create any loggers required by instances being built by the builder.
final Logger  logger
Logger created from loggerFactory to allow logging in this builder.
final List< FlowElement >  flowElements = new ArrayList<>()
List of flow elements to add to the Pipeline.
final List< PipelineService >  services = new ArrayList<>()
List of services to be managed by the Pipeline.
boolean  autoCloseElements = false
boolean  suppressProcessExceptions = false

Constructor & Destructor Documentation

Member Function Documentation