This is a component used in a pipeline.
If the environment has some configuration for this component
setConfiguration(Map) is called as the first step. After the
component has been added to pipeline, setup(Map) is called before
the pipeline is executed. When the pipeline is finished or if any error
occurred finish() is called.
Method Summary
void
finish()
This method is called after pipeline run - regardless if the run was
successful or an exception was thrown.
void
setConfiguration(Map<String,? extends Object> configuration)
Pass component specific configuration parameters to the pipeline
component in a generic way.
void
setup(Map<String,Object> parameters)
The shared object map for this pipeline run.
Method Detail
finish
void finish()
This method is called after pipeline run - regardless if the run was
successful or an exception was thrown.
Pass component specific configuration parameters to the pipeline
component in a generic way. This is useful in environments that
automatically assemble pipelines with their components and can't use the
components constructors or setters.
Parameters:
configuration - The Map of configuration parameters.
parameters - A Map of parameters that are available to all
PipelineComponents. This is a modifiable map that can
be changed by this pipeline component.