51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java
  • fiftyone
  • pipeline
  • core
  • flowelements
  • Pipeline

fiftyone.pipeline.core.flowelements.Pipeline Interface Reference

Detailed Description

The Pipeline groups together FlowElements and is a factory for FlowData which serves as the evidence, results, and a means to access the Pipeline's processing capabilities.

A FlowData is linked to the Pipeline which created it, and cannot function without it.

Inheritance diagram for fiftyone.pipeline.core.flowelements.Pipeline:

[legend]

Collaboration diagram for fiftyone.pipeline.core.flowelements.Pipeline:

[legend]

Public Member Functions

FlowData  createFlowData ()
Create a new FlowData instance linked to this Pipeline. More...
EvidenceKeyFilter  getEvidenceKeyFilter ()
Get the evidence keys used by all the FlowElements in the Pipeline. More...
boolean  isConcurrent ()
True if any of the FlowElements in this pipeline will create multiple threads and execute in parallel. More...
boolean  isClosed ()
Indicates whether the Pipeline has been closed using the close() method, either explicitly or as a result of a 'try with resource'. More...
< T extends FlowElement > T  getElement (Class< T > type)
Get the specified element from the pipeline. More...
List< FlowElement >  getFlowElements ()
Get list of the flow elements that are part of this pipeline. More...
Map< String, Map< String, ElementPropertyMetaData > >  getElementAvailableProperties ()
Get the map of available properties for an FlowElement#getElementDataKey(). More...

Member Function Documentation

◆ getElement()

<T extends FlowElement> T fiftyone.pipeline.core.flowelements.Pipeline.getElement ( Class< T >   type )

Get the specified element from the pipeline.

If the pipeline contains multiple elements of the requested type, this method will return null.

Parameters
type - the type of the FlowElement to get
<T> - the type of the FlowElement to get
Returns
An instance of the specified FlowElement if the pipeline contains one. Null is returned if there is no such instance or there are multiple instances of that type.

◆ getEvidenceKeyFilter()

EvidenceKeyFilter fiftyone.pipeline.core.flowelements.Pipeline.getEvidenceKeyFilter ( )

Get the evidence keys used by all the FlowElements in the Pipeline.

Returns
merged list of evidence keys

◆ getFlowElements()

List<FlowElement> fiftyone.pipeline.core.flowelements.Pipeline.getFlowElements ( )

Get list of the flow elements that are part of this pipeline.

Returns
an immutable list of the flow elements

◆ isClosed()

boolean fiftyone.pipeline.core.flowelements.Pipeline.isClosed ( )

Indicates whether the Pipeline has been closed using the close() method, either explicitly or as a result of a 'try with resource'.

Returns
true if the Pipeline has been closed

◆ isConcurrent()

boolean fiftyone.pipeline.core.flowelements.Pipeline.isConcurrent ( )

True if any of the FlowElements in this pipeline will create multiple threads and execute in parallel.

False otherwise.

Returns
true if any FlowElements are concurrent