org.testng.internal
Class DefaultMethodSelectorContext
java.lang.Object
org.testng.internal.DefaultMethodSelectorContext
- All Implemented Interfaces:
- IMethodSelectorContext
public class DefaultMethodSelectorContext
- extends java.lang.Object
- implements IMethodSelectorContext
Simple implementation of IMethodSelectorContext
Created on Jan 3, 2007
- Author:
- Cedric Beust
Method Summary |
java.util.Map<java.lang.Object,java.lang.Object> |
getUserData()
|
boolean |
isStopped()
|
void |
setStopped(boolean stopped)
Indicate that no other Method Selectors should be invoked after the
current one if stopped is false. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMethodSelectorContext
public DefaultMethodSelectorContext()
getUserData
public java.util.Map<java.lang.Object,java.lang.Object> getUserData()
- Specified by:
getUserData
in interface IMethodSelectorContext
- Returns:
- a Map that can be freely manipulated by the Method Selector.
This can be used to share information among several Method Selectors.
isStopped
public boolean isStopped()
- Specified by:
isStopped
in interface IMethodSelectorContext
- Returns:
- true if no more Method Selectors should be invoked after
the current one.
setStopped
public void setStopped(boolean stopped)
- Description copied from interface:
IMethodSelectorContext
- Indicate that no other Method Selectors should be invoked after the
current one if stopped is false.
- Specified by:
setStopped
in interface IMethodSelectorContext
Copyright © 2010. All Rights Reserved.