Class DataProviderMethod

    • Field Detail

      • instance

        private final java.lang.Object instance
      • method

        private final java.lang.reflect.Method method
    • Constructor Detail

      • DataProviderMethod

        DataProviderMethod​(java.lang.Object instance,
                           java.lang.reflect.Method method,
                           IDataProviderAnnotation annotation)
    • Method Detail

      • getInstance

        public java.lang.Object getInstance()
        Specified by:
        getInstance in interface IDataProviderMethod
        Returns:
        - The instance to which the data provider belongs to. null if the data provider is a static one.
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface IDataProviderMethod
        Returns:
        The name of this DataProvider.
      • isParallel

        public boolean isParallel()
        Specified by:
        isParallel in interface IDataProviderMethod
        Returns:
        Whether this data provider should be run in parallel.
      • getIndices

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