org.specrunner.pipeline.core
Class PipelineFactoryImpl

java.lang.Object
  extended by org.specrunner.pipeline.core.PipelineFactoryImpl
All Implemented Interfaces:
IPipelineFactory
Direct Known Subclasses:
PipelineFactoryCustom, PipelineFactoryXOM

public class PipelineFactoryImpl
extends Object
implements IPipelineFactory

Default implementation of a pipeline factory.

Author:
Thiago Santos

Constructor Summary
PipelineFactoryImpl()
           
 
Method Summary
 IPipeline newPipeline(IPipe... pipes)
          A new pipeline.
 IPipeline newPipeline(Object source)
          A new pipeline from source object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineFactoryImpl

public PipelineFactoryImpl()
Method Detail

newPipeline

public IPipeline newPipeline(Object source)
                      throws PipelineException
Description copied from interface: IPipelineFactory
A new pipeline from source object.

Specified by:
newPipeline in interface IPipelineFactory
Parameters:
source - The pipeline source.
Returns:
A pipeline.
Throws:
PipelineException - A pipeline.

newPipeline

public IPipeline newPipeline(IPipe... pipes)
Description copied from interface: IPipelineFactory
A new pipeline.

Specified by:
newPipeline in interface IPipelineFactory
Parameters:
pipes - A, possibly, empty list of pipes.
Returns:
A pipeline.


Copyright © 2014. All rights reserved.