org.specrunner.listeners
Interface ISourceListener

All Superinterfaces:
ISpecRunnerListener
All Known Implementing Classes:
AbstractSourceListener, ProfilerSourceListener

public interface ISourceListener
extends ISpecRunnerListener

A generic source listener.

Author:
Thiago Santos

Method Summary
 void onAfter(ISource source, IContext context, IResultSet result)
          To be performed after a source execution.
 void onBefore(ISource source, IContext context, IResultSet result)
          To be performed before start a source execution.
 
Methods inherited from interface org.specrunner.listeners.ISpecRunnerListener
getName, reset
 

Method Detail

onBefore

void onBefore(ISource source,
              IContext context,
              IResultSet result)
To be performed before start a source execution.

Parameters:
source - The specification.
context - A context.
result - A result set.

onAfter

void onAfter(ISource source,
             IContext context,
             IResultSet result)
To be performed after a source execution.

Parameters:
source - The specification.
context - A context.
result - A result set.


Copyright © 2014. All rights reserved.