Package org.testng

Interface IDataProviderMethod


  • public interface IDataProviderMethod
    Represents the attributes of a DataProvider annotated method.
    • Method Detail

      • getInstance

        java.lang.Object getInstance()
        Returns:
        - The instance to which the data provider belongs to. null if the data provider is a static one.
      • getMethod

        java.lang.reflect.Method getMethod()
        Returns:
        - A Method object that represents the actual @DataProvider method.
      • getName

        java.lang.String getName()
        Returns:
        The name of this DataProvider.
      • isParallel

        boolean isParallel()
        Returns:
        Whether this data provider should be run in parallel.
      • getIndices

        java.util.List<java.lang.Integer> getIndices()
        Returns:
        Which indices to run from this data provider, default: all.