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(SRServices services, IPipe... pipes)
          A new pipeline.
 IPipeline newPipeline(SRServices services, 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(SRServices services,
                             Object source)
                      throws PipelineException
Description copied from interface: IPipelineFactory
A new pipeline from source object.

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

newPipeline

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

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


Copyright © 2015. All rights reserved.