org.gcube.smartgears.handlers.container
Class ContainerPipeline

java.lang.Object
  extended by org.gcube.smartgears.handlers.Pipeline<ContainerLifecycleEvent,ContainerHandler>
      extended by org.gcube.smartgears.handlers.container.ContainerPipeline

public class ContainerPipeline
extends Pipeline<ContainerLifecycleEvent,ContainerHandler>

A Pipeline of ContainerHandlers.

Author:
Fabio Simeoni

Constructor Summary
ContainerPipeline(List<ContainerHandler> handlers)
          Creates an instance with a given list of handlers.
 
Method Summary
 ContainerPipeline 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

ContainerPipeline

public ContainerPipeline(List<ContainerHandler> 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 ContainerPipeline reverse()
Returns a pipeline with the same handlers as this pipeline but in reverse order.

Returns:
the reversed pipeline


Copyright © 2014. All Rights Reserved.