Package org.testng.internal
Class DefaultMethodSelectorContext
java.lang.Object
org.testng.internal.DefaultMethodSelectorContext
- All Implemented Interfaces:
IMethodSelectorContext
Simple implementation of IMethodSelectorContext
Created on Jan 3, 2007
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setStopped
(boolean stopped) Indicate that no other Method Selectors should be invoked after the current one if stopped is false.
-
Field Details
-
m_userData
-
m_isStopped
private boolean m_isStopped
-
-
Constructor Details
-
DefaultMethodSelectorContext
public DefaultMethodSelectorContext()
-
-
Method Details
-
getUserData
- Specified by:
getUserData
in interfaceIMethodSelectorContext
- 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 interfaceIMethodSelectorContext
- 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 interfaceIMethodSelectorContext
- Parameters:
stopped
- The value
-