org.specrunner.pipeline
Interface IPipelineFactory

All Known Implementing Classes:
PipelineFactoryCustom, PipelineFactoryImpl, PipelineFactoryXOM

public interface IPipelineFactory

Stand for a channel factory.

Author:
Thiago Santos

Method Summary
 IPipeline newPipeline(IPipe... pipes)
          A new pipeline.
 IPipeline newPipeline(Object source)
          A new pipeline from source object.
 

Method Detail

newPipeline

IPipeline newPipeline(Object source)
                      throws PipelineException
A new pipeline from source object.

Parameters:
source - The pipeline source.
Returns:
A pipeline.
Throws:
PipelineException - A pipeline.

newPipeline

IPipeline newPipeline(IPipe... pipes)
                      throws PipelineException
A new pipeline.

Parameters:
pipes - A, possibly, empty list of pipes.
Returns:
A pipeline.
Throws:
PipelineException - On creation errors.


Copyright © 2014. All rights reserved.