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 (at) beust.com">Cedric Beust</a> 8 */ 9 public interface IDataProviderAnnotation extends IAnnotation { 10 /** 11 * The name of this DataProvider. 12 */ 13 public String getName(); 14 public void setName(String name); 15 16 /** 17 * Whether this data provider should be used in parallel. 18 */ 19 boolean isParallel(); 20 void setParallel(boolean parallel); 21 } 22