Package org.testng
Interface IDataProviderMethod
-
- All Known Implementing Classes:
DataProviderMethod
public interface IDataProviderMethodRepresents the attributes of aDataProviderannotated method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.Integer>getIndices()java.lang.ObjectgetInstance()java.lang.reflect.MethodgetMethod()java.lang.StringgetName()booleanisParallel()
-
-
-
Method Detail
-
getInstance
java.lang.Object getInstance()
- Returns:
- - The instance to which the data provider belongs to.
nullif the data provider is a static one.
-
getMethod
java.lang.reflect.Method getMethod()
- Returns:
- - A
Methodobject that represents the actual @DataProvidermethod.
-
getName
java.lang.String getName()
- Returns:
- The name of this DataProvider.
-
isParallel
boolean isParallel()
- Returns:
- Whether this data provider should be run in parallel.
-
getIndices
java.util.List<java.lang.Integer> getIndices()
- Returns:
- Which indices to run from this data provider, default: all.
-
-