org.specrunner.core
Class SpecRunnerPipeline

java.lang.Object
  extended by org.specrunner.core.SpecRunnerPipeline
All Implemented Interfaces:
ISpecRunner

public class SpecRunnerPipeline
extends Object
implements ISpecRunner

Default implementation. All methods can be overridden!!!!

Author:
Thiago Santos

Constructor Summary
SpecRunnerPipeline()
           
 
Method Summary
protected  IResultSet doRun(String input, IConfiguration configuration)
          Perform a specification given by input.
 IResultSet run(String input)
          Runs a specification.
 IResultSet run(String input, IConfiguration configuration)
          Runs a specification using a given configuration.
 IResultSet run(String input, String output, IConfiguration configuration)
          Runs a specification using a given configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecRunnerPipeline

public SpecRunnerPipeline()
Method Detail

run

public IResultSet run(String input)
               throws SpecRunnerException
Description copied from interface: ISpecRunner
Runs a specification.

Specified by:
run in interface ISpecRunner
Parameters:
input - The specification source.
Returns:
The result of execution.
Throws:
SpecRunnerException - On execution errors.

run

public IResultSet run(String input,
                      IConfiguration configuration)
               throws SpecRunnerException
Description copied from interface: ISpecRunner
Runs a specification using a given configuration.

Specified by:
run in interface ISpecRunner
Parameters:
input - The specification source.
configuration - Specific configurations.
Returns:
The result of execution.
Throws:
SpecRunnerException - On execution errors.

run

public IResultSet run(String input,
                      String output,
                      IConfiguration configuration)
               throws SpecRunnerException
Description copied from interface: ISpecRunner
Runs a specification using a given configuration.

Specified by:
run in interface ISpecRunner
Parameters:
input - The specification source.
output - The specification output.
configuration - Specific configurations.
Returns:
The result of execution.
Throws:
SpecRunnerException - On execution errors.

doRun

protected IResultSet doRun(String input,
                           IConfiguration configuration)
                    throws SpecRunnerException
Perform a specification given by input.

Parameters:
input - An input.
configuration - A configuration.
Returns:
The result set.
Throws:
SpecRunnerException - On runner errors.


Copyright © 2014. All rights reserved.