org.specrunner.listeners.core
Class AbstractBlockListener
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBlockListener
public AbstractBlockListener()
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.