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 java.util.List<java.lang.Integer>
getIndices()
java.lang.String
getName()
The name of this DataProvider.boolean
isParallel()
Whether this data provider should be used in parallel.void
setIndices(java.util.List<java.lang.Integer> indices)
void
setName(java.lang.String name)
void
setParallel(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:IDataProviderAnnotation
Whether this data provider should be used in parallel.- Specified by:
isParallel
in interfaceIDataProviderAnnotation
-
setParallel
public void setParallel(boolean parallel)
- Specified by:
setParallel
in interfaceIDataProviderAnnotation
-
getName
public java.lang.String getName()
Description copied from interface:IDataProviderAnnotation
The name of this DataProvider.- Specified by:
getName
in interfaceIDataProviderAnnotation
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceIDataProviderAnnotation
-
getIndices
public java.util.List<java.lang.Integer> getIndices()
- Specified by:
getIndices
in interfaceIDataProviderAnnotation
-
setIndices
public void setIndices(java.util.List<java.lang.Integer> indices)
- Specified by:
setIndices
in interfaceIDataProviderAnnotation
-
-