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
An implementation of IDataProvider.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
Whether this data provider should be used in parallel.void
setIndices
(List<Integer> indices) void
void
setParallel
(boolean parallel) Methods inherited from class org.testng.internal.annotations.BaseAnnotation
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClass
-
Field Details
-
m_name
-
m_parallel
private boolean m_parallel -
m_indices
-
-
Constructor Details
-
DataProviderAnnotation
public DataProviderAnnotation()
-
-
Method Details
-
isParallel
public boolean isParallel()Description copied from interface:IDataProviderAnnotation
Whether this data provider should be used in parallel.- Specified by:
isParallel
in interfaceIDataProviderAnnotation
- Returns:
- true if in parallel
-
setParallel
public void setParallel(boolean parallel) - Specified by:
setParallel
in interfaceIDataProviderAnnotation
-
getName
- Specified by:
getName
in interfaceIDataProviderAnnotation
- Returns:
- The name of this DataProvider.
-
setName
- Specified by:
setName
in interfaceIDataProviderAnnotation
-
getIndices
- Specified by:
getIndices
in interfaceIDataProviderAnnotation
-
setIndices
- Specified by:
setIndices
in interfaceIDataProviderAnnotation
-