Top Description Methods
org.testng

public Interface IMethodSelectorContext

Known Direct Implementers
org.testng.internal.DefaultMethodSelectorContext
Imports
java.util.Map

An implementation of this interface is passed to all the Method Selectors when their includeMethod() is invoked. Method selectors can invoke any method of this context at that time.

Created on Jan 3, 2007

Author
Cedric Beust

Method Summary

Modifier and TypeMethod and Description
public Map<Object, Object>

Returns:

a Map that can be freely manipulated by the Method Selector. This can be used to share information among several Method Selectors.
getUserData
()

public boolean

Returns:

true if no more Method Selectors should be invoked after the current one.
isStopped
()

public void
setStopped(boolean
The value
stopped
)

Indicate that no other Method Selectors should be invoked after the current one if stopped is false.

Method Detail

getUserDataback to summary
public Map<Object, Object> getUserData()
Returns:Map<Object, Object>

a Map that can be freely manipulated by the Method Selector. This can be used to share information among several Method Selectors.

isStoppedback to summary
public boolean isStopped()
Returns:boolean

true if no more Method Selectors should be invoked after the current one.

setStoppedback to summary
public void setStopped(boolean stopped)

Indicate that no other Method Selectors should be invoked after the current one if stopped is false.

Parameters
stopped:boolean

The value