|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
DATA - processed data type.public static interface Stage.Builder<DATA>
Linear stage chain builder.
| Method Summary | |
|---|---|
Stage<DATA> |
build()
Build a stage chain. |
Stage<DATA> |
build(Stage<DATA> terminal)
Add a terminal stage to the stage chain and build the chain. |
Stage.Builder<DATA> |
to(ChainableStage<DATA> stage)
Add a new chainable stage as a next stage to the
stage chain. |
Stage.Builder<DATA> |
to(com.google.common.base.Function<DATA,DATA> transformation)
Add a transformation function as a next stage to the stage chain. |
| Method Detail |
|---|
Stage.Builder<DATA> to(com.google.common.base.Function<DATA,DATA> transformation)
The order of the to(...) method invocations matches the order
of the stage execution at runtime.
transformation - a transformation function to be added as a next
stage to the stage chain.
Stage.Builder<DATA> to(ChainableStage<DATA> stage)
chainable stage as a next stage to the
stage chain.
The order of the to(...) method invocations matches the order
of the stage execution at runtime.
A subsequent call to a to(...) method will automatically invoke the
ChainableStage.setDefaultNext(Stage) method on the chainable
stage.
stage - a chainable stage to be added as a next
stage to the stage chain.
Stage<DATA> build()
Stage<DATA> build(Stage<DATA> terminal)
terminal - last stage to be added to the stage chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||