Class ApplicationPipeline<H extends ApplicationHandler<H>>

java.lang.Object
org.gcube.smartgears.handlers.Pipeline<ApplicationEvent<H>,H>
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>
Author:
Fabio Simeoni
  • Constructor Details

    • 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 Details

    • reverse

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