Class PlainRowFormatter.Factory

    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Constructor Detail

      • Factory

        public Factory()
    • 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
        Parameters:
        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
        Returns:
        an instance of RowFormatter