Class DefaultRowFormatterFactory

    • Constructor Detail

      • DefaultRowFormatterFactory

        public DefaultRowFormatterFactory()
    • Method Detail

      • create

        public RowFormatter create​(java.lang.Class<?> parameterType,
                                   java.lang.String parameterName,
                                   Table tableAnnotation,
                                   java.lang.annotation.Annotation[] annotations,
                                   FormatterConfiguration configuration,
                                   ObjectFormatter<?> objectFormatter)
        Description copied from interface: RowFormatterFactory
        Creates a new RowFormatter instance.
        Specified by:
        create in interface RowFormatterFactory
        parameterType - the type of the table parameter
        parameterName - the name of the table parameter
        tableAnnotation - the Table annotation of the parameter
        annotations - all annotations of the table parameter including the Table annotation
        configuration - the formatter configuration
        objectFormatter - the standard object formatter that would be used by JGiven
        an instance of RowFormatter