Package com.tngtech.jgiven.format.table
Class PlainRowFormatter.Factory
- java.lang.Object
-
- com.tngtech.jgiven.format.table.PlainRowFormatter.Factory
-
- All Implemented Interfaces:
RowFormatterFactory
- Enclosing class:
- PlainRowFormatter
public static class PlainRowFormatter.Factory extends java.lang.Object implements RowFormatterFactory
Factory for creating instances ofPlainRowFormatter
- Since:
- 0.10.0
- See Also:
Table
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RowFormatter
create(java.lang.Class<?> parameterType, java.lang.String parameterName, Table tableAnnotation, java.lang.annotation.Annotation[] annotations, FormatterConfiguration configuration, ObjectFormatter<?> objectFormatter)
Creates a newRowFormatter
instance.
-
-
-
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 newRowFormatter
instance.- Specified by:
create
in interfaceRowFormatterFactory
- Parameters:
parameterType
- the type of the table parameterparameterName
- the name of the table parametertableAnnotation
- theTable
annotation of the parameterannotations
- all annotations of the table parameter including theTable
annotationconfiguration
- the formatter configurationobjectFormatter
- the standard object formatter that would be used by JGiven- Returns:
- an instance of
RowFormatter
-
-