org.testng.IMethodSelectorContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng;
import 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
*/
public interface IMethodSelectorContext {
/** @return true if no more Method Selectors should be invoked after the current one. */
boolean isStopped();
/**
* Indicate that no other Method Selectors should be invoked after the current one if stopped is
* false.
*
* @param stopped The value
*/
void setStopped(boolean stopped);
/**
* @return a Map that can be freely manipulated by the Method Selector. This can be used to share
* information among several Method Selectors.
*/
Map