org.specrunner.listeners.core
Class AbstractBlockListener

java.lang.Object
  extended by org.specrunner.listeners.core.AbstractBlockListener
All Implemented Interfaces:
IBlockListener, ISpecRunnerListener

public abstract class AbstractBlockListener
extends Object
implements IBlockListener

Helper for block listeners.

Author:
Thiago Santos

Constructor Summary
AbstractBlockListener()
           
 
Method Summary
 void onPop(IBlock block)
          On block dequeue.
 void onPush(IBlock block)
          O block queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.listeners.ISpecRunnerListener
getName, reset
 

Constructor Detail

AbstractBlockListener

public AbstractBlockListener()
Method Detail

onPush

public void onPush(IBlock block)
Description copied from interface: IBlockListener
O block queue.

Specified by:
onPush in interface IBlockListener
Parameters:
block - A block.

onPop

public void onPop(IBlock block)
Description copied from interface: IBlockListener
On block dequeue.

Specified by:
onPop in interface IBlockListener
Parameters:
block - A block.


Copyright © 2015. All rights reserved.