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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Integer>m_indicesprivate java.lang.Stringm_nameprivate booleanm_parallel
-
Constructor Summary
Constructors Constructor Description DataProviderAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Integer>getIndices()java.lang.StringgetName()booleanisParallel()Whether this data provider should be used in parallel.voidsetIndices(java.util.List<java.lang.Integer> indices)voidsetName(java.lang.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- Returns:
- true if in parallel
-
setParallel
public void setParallel(boolean parallel)
- Specified by:
setParallelin interfaceIDataProviderAnnotation
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceIDataProviderAnnotation- Returns:
- The name of this DataProvider.
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceIDataProviderAnnotation
-
getIndices
public java.util.List<java.lang.Integer> getIndices()
- Specified by:
getIndicesin interfaceIDataProviderAnnotation
-
setIndices
public void setIndices(java.util.List<java.lang.Integer> indices)
- Specified by:
setIndicesin interfaceIDataProviderAnnotation
-
-