Top Description Fields Constructors Methods
org.testng.internal

public Class DefaultMethodSelectorContext

extends Object
implements IMethodSelectorContext
Class Inheritance
All Implemented Interfaces
org.testng.IMethodSelectorContext
Imports
java.util.Map, org.testng.IMethodSelectorContext, org.testng.collections.Maps

Simple implementation of IMethodSelectorContext

Created on Jan 3, 2007

Author
Cedric Beust

Field Summary

Modifier and TypeField and Description
private boolean
private final Map<Object, Object>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<Object, Object>
public boolean
public void
setStopped(boolean
The value
stopped
)

Implements org.testng.IMethodSelectorContext.setStopped.

Indicate that no other Method Selectors should be invoked after the current one if stopped is false.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

m_isStoppedback to summary
private boolean m_isStopped
m_userDataback to summary
private final Map<Object, Object> m_userData

Constructor Detail

DefaultMethodSelectorContextback to summary
public DefaultMethodSelectorContext()

Method Detail

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

Implements org.testng.IMethodSelectorContext.getUserData.

Returns:Map<Object, Object>

Doc from org.testng.IMethodSelectorContext.getUserData.

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

Annotations
@Override
isStoppedback to summary
public boolean isStopped()

Implements org.testng.IMethodSelectorContext.isStopped.

Returns:boolean

Doc from org.testng.IMethodSelectorContext.isStopped.

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

Annotations
@Override
setStoppedback to summary
public void setStopped(boolean stopped)

Implements org.testng.IMethodSelectorContext.setStopped.

Doc from org.testng.IMethodSelectorContext.setStopped.

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

Parameters
stopped:boolean

The value

Annotations
@Override