51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.engines.fiftyone.flowelements.FiftyOnePipelineBuilder Class Reference

Detailed Description

Pipeline builder class that allows the 51Degrees share usage element to be enabled/disabled.

Inheritance diagram for fiftyone.pipeline.engines.fiftyone.flowelements.FiftyOnePipelineBuilder:

[legend]

Collaboration diagram for fiftyone.pipeline.engines.fiftyone.flowelements.FiftyOnePipelineBuilder:

[legend]

Public Member Functions

 FiftyOnePipelineBuilder ()
Construct a new builder.
 FiftyOnePipelineBuilder (ILoggerFactory loggerFactory)
Construct a new instance. More...
FiftyOnePipelineBuilder  setShareUsage (boolean enabled)
Set share usage enabled/disabled. More...

Public Member Functions inherited from fiftyone.pipeline.core.flowelements.PipelineBuilder

 PipelineBuilder ()
Construct a new builder.
 PipelineBuilder (ILoggerFactory loggerFactory)
Construct a new instance. More...
Pipeline  buildFromConfiguration (PipelineOptions options) throws Exception
Build the pipeline using the specified configuration options. More...
PipelineBuilder  addService (PipelineService service)
Add a service to the builder which will be needed by any of the elements being added to the pipeline. More...

Public Member Functions inherited from fiftyone.pipeline.core.flowelements.PipelineBuilderBase< PipelineBuilder >

 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  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

void  onPreBuild ()

Protected Member Functions inherited from fiftyone.pipeline.core.flowelements.PipelineBuilderBase< PipelineBuilder >

List< FlowElement >  getFlowElements ()
void  onPreBuild ()
Called just before a pipeline is built.

Constructor & Destructor Documentation

◆ FiftyOnePipelineBuilder()

fiftyone.pipeline.engines.fiftyone.flowelements.FiftyOnePipelineBuilder.FiftyOnePipelineBuilder ( ILoggerFactory   loggerFactory )

Construct a new instance.

Parameters
loggerFactory - logger factory to use when passing loggers to any instances created by the builder

Member Function Documentation

◆ setShareUsage()

FiftyOnePipelineBuilder fiftyone.pipeline.engines.fiftyone.flowelements.FiftyOnePipelineBuilder.setShareUsage ( boolean   enabled )

Set share usage enabled/disabled.

Defaults to enabled.

Parameters
enabled - true to enable usage sharing, false to disable
Returns
this builder