org.specrunner.listeners.core
Class IgnoreNodeListener
java.lang.Object
org.specrunner.listeners.core.AbstractNodeListener
org.specrunner.listeners.core.IgnoreNodeListener
- All Implemented Interfaces:
- INodeListener, ISpecRunnerListener
public class IgnoreNodeListener
- extends AbstractNodeListener
Listener to ignore nodes.
- Author:
- Thiago Santos.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IgnoreNodeListener
public IgnoreNodeListener()
reset
public void reset()
- Description copied from interface:
ISpecRunnerListener
- Reset listener state.
getName
public String getName()
- Description copied from interface:
ISpecRunnerListener
- The listener name. Used to distinguish between different listeners.
- Returns:
- The listener name.
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- Overrides:
onBefore in class AbstractNodeListener
- 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.
Copyright © 2015. All rights reserved.