|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PipelineComponent
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(java.lang.Exception)
is called.
Method Summary | |
---|---|
void |
finish(Exception exception)
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)
|
void |
setup(Map<String,Object> parameters)
The shared object map for this pipeline run. |
Method Detail |
---|
void setConfiguration(Map<String,? extends Object> configuration)
void setup(Map<String,Object> parameters)
parameters
- A Map
of parameters that are available to all PipelineComponent
s. This is a
modifiable map that can be changed by this pipeline component.void finish(Exception exception)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |