|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.ghn.service.handlers.Pipeline<H>
H - the type of the handlerspublic class Pipeline<H extends ApplicationHandler<H>>
An ordered list ApplicationHandlers that handle related ApplicationEvents.
| Constructor Summary | |
|---|---|
Pipeline(List<H> handlers)
Creates an instance with a given list of handlers. |
|
| Method Summary | |
|---|---|
void |
forward(ApplicationEvent<H> event)
Forwards an event through the pipeline. |
List<H> |
handlers()
Returns the handlers in this pipeline. |
Pipeline<H> |
reverse()
Returns a pipeline with the same handlers as this pipeline, only in reverse order. |
| 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(ApplicationEvent<H> event)
event - the eventpublic Pipeline<H> reverse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||