1 package org.testng.annotations;
2 
3 /**
4  * Encapsulate the @DataProvider / @testng.data-provider annotation
5  *
6  * Created on Dec 20, 2005
7  * @author <a href="mailto:cedric@beust.com">Cedric Beust</a>
8  */
9 public interface IDataProviderAnnotation extends IAnnotation {
10   /**
11    * The name of this DataProvider.
12    */
getName()13   public String getName();
setName(String name)14   public void setName(String name);
15 
16   /**
17    * Whether this data provider should be used in parallel.
18    */
isParallel()19   boolean isParallel();
setParallel(boolean parallel)20   void setParallel(boolean parallel);
21 }
22