|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StageDriverFactory<T extends StageDriver>
This interface represents a factory that is used by a Pipeline to create
a driver for a Stage when that stage is added to the pipeline. The factory
pattern is used here to ensure that each stage is run by a unique driver
instance.
In order to guarantee that StageDriverFactory instances can be used effectively in configuration frameworks, each StageDriverFactory implementation must provide a no-argument constructor.
| Method Summary | |
|---|---|
T |
createStageDriver(Stage stage,
StageContext context)
This method is used to create a driver that will run the specified stage in the specified context. |
| Method Detail |
|---|
T createStageDriver(Stage stage,
StageContext context)
stage - The stage to be run by the newly created driver.context - The context in which the stage will be run
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||