org.specrunner.context
Interface IContextFactory

All Known Implementing Classes:
ContextFactoryImpl

public interface IContextFactory

A context factory.

Author:
Thiago Santos

Method Summary
 IContext newContext(ISource source, IRunner runner)
          Creates a new context based on an source and a runner.
 

Method Detail

newContext

IContext newContext(ISource source,
                    IRunner runner)
                    throws ContextException
Creates a new context based on an source and a runner.

Parameters:
source - The source context.
runner - The context runner.
Returns:
A new context.
Throws:
ContextException - On creation errors.


Copyright © 2014. All rights reserved.