org.gcube.smartgears.handlers.application
Class ApplicationPipeline<H extends ApplicationHandler<H>>

java.lang.Object
  extended by org.gcube.smartgears.handlers.Pipeline<ApplicationEvent<H>,H>
      extended by org.gcube.smartgears.handlers.application.ApplicationPipeline<H>
Type Parameters:
H - the type of the handlers

public class ApplicationPipeline<H extends ApplicationHandler<H>>
extends Pipeline<ApplicationEvent<H>,H>

A Pipeline of ApplicationHandlers.

Author:
Fabio Simeoni

Constructor Summary
ApplicationPipeline(List<H> handlers)
          Creates an instance with a given list of handlers.
 
Method Summary
 ApplicationPipeline<H> reverse()
          Returns a pipeline with the same handlers as this pipeline but in reverse order.
 
Methods inherited from class org.gcube.smartgears.handlers.Pipeline
forward, handlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationPipeline

public ApplicationPipeline(List<H> handlers)
Creates an instance with a given list of handlers.

Modification to the input list do not affect the pipeline.

Parameters:
handlers - the handlers
Method Detail

reverse

public ApplicationPipeline<H> reverse()
Returns a pipeline with the same handlers as this pipeline but in reverse order.

Returns:
the reversed pipeline


Copyright © 2014. All Rights Reserved.