|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.smartgears.handlers.Pipeline<E,H>
E - the type of eventsH - the type of handlerspublic abstract class Pipeline<E,H extends Handler<E>>
An ordered list Handlers that handle related events.
| Constructor Summary | |
|---|---|
Pipeline(List<H> handlers)
Creates an instance with a given list of handlers. |
|
| Method Summary | |
|---|---|
void |
forward(E event)
Forwards an event through the pipeline. |
List<H> |
handlers()
Returns the handlers in this pipeline. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pipeline(List<H> handlers)
Modification to the input list do not affect the pipeline.
handlers - the handlers| Method Detail |
|---|
public List<H> handlers()
Modification to the input list do not affect the pipeline.
public void forward(E event)
event - the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||