org.specrunner.listeners.core
Class AbstractNodeListener
java.lang.Object
org.specrunner.listeners.core.AbstractNodeListener
- All Implemented Interfaces:
- INodeListener, ISpecRunnerListener
- Direct Known Subclasses:
- PauseOnFailureNodeListener
public abstract class AbstractNodeListener
- extends Object
- implements INodeListener
Helper for node listeners.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNodeListener
public AbstractNodeListener()
onBefore
public ENext onBefore(nu.xom.Node node,
IContext context,
IResultSet result)
- Description copied from interface:
INodeListener
- Perform some action before building plugin for a given node.
- Specified by:
onBefore in interface INodeListener
- Parameters:
node - The node.context - The context.result - The result.
- Returns:
- The next step on execution. If return is
ENext.DEEP,
the execution should go deeper.
onAfter
public void onAfter(nu.xom.Node node,
IContext context,
IResultSet result)
- Description copied from interface:
INodeListener
- Perform some action after plugin execution for a given node.
- Specified by:
onAfter in interface INodeListener
- Parameters:
node - The node.context - The context.result - The result.
Copyright © 2014. All rights reserved.