Package com.tngtech.jgiven.format.table
Interface RowFormatterFactory
-
- All Known Implementing Classes:
DefaultRowFormatterFactory
,FieldBasedRowFormatter.Factory
,PlainRowFormatter.Factory
public interface RowFormatterFactory
Factory for creating ObjectRowFormatter instances- Since:
- 0.10.0
- See Also:
Table
-
-
Method Summary
All Methods Instance Methods Abstract 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
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.- 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
-
-