Package org.testng.internal.annotations
Class DataProviderAnnotation
- java.lang.Object
-
- org.testng.internal.annotations.BaseAnnotation
-
- org.testng.internal.annotations.DataProviderAnnotation
-
- All Implemented Interfaces:
IAnnotation,IDataProviderAnnotation
public class DataProviderAnnotation extends BaseAnnotation implements IDataProviderAnnotation
An implementation of IDataProvider. Created on Dec 20, 2005- Author:
- Cedric Beust
-
-
Constructor Summary
Constructors Constructor Description DataProviderAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>getIndices()StringgetName()The name of this DataProvider.booleanisParallel()Whether this data provider should be used in parallel.voidsetIndices(List<Integer> indices)voidsetName(String name)voidsetParallel(boolean parallel)-
Methods inherited from class org.testng.internal.annotations.BaseAnnotation
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClass
-
-
-
-
Method Detail
-
isParallel
public boolean isParallel()
Description copied from interface:IDataProviderAnnotationWhether this data provider should be used in parallel.- Specified by:
isParallelin interfaceIDataProviderAnnotation
-
setParallel
public void setParallel(boolean parallel)
- Specified by:
setParallelin interfaceIDataProviderAnnotation
-
getName
public String getName()
Description copied from interface:IDataProviderAnnotationThe name of this DataProvider.- Specified by:
getNamein interfaceIDataProviderAnnotation
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceIDataProviderAnnotation
-
getIndices
public List<Integer> getIndices()
- Specified by:
getIndicesin interfaceIDataProviderAnnotation
-
setIndices
public void setIndices(List<Integer> indices)
- Specified by:
setIndicesin interfaceIDataProviderAnnotation
-
-