Class GeneratorFactory


  • @ProviderType
    public final class GeneratorFactory
    extends java.lang.Object
    Factory class for parameter generator rules.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> Generator<T> list​(T... values)
      Generates a ListGenerator instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • list

        @SafeVarargs
        public static <T> Generator<T> list​(T... values)
        Generates a ListGenerator instance.
        Type Parameters:
        T - Parameter type
        Parameters:
        values - List of values.
        Returns:
        Parameter generator rule