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
Factory for creating instances of
PlainRowFormatter- Since:
- 0.10.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Class<?> parameterType, String parameterName, Table tableAnnotation, Annotation[] annotations, FormatterConfiguration configuration, ObjectFormatter<?> objectFormatter) Creates a newRowFormatterinstance.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
public RowFormatter create(Class<?> parameterType, String parameterName, Table tableAnnotation, Annotation[] annotations, FormatterConfiguration configuration, ObjectFormatter<?> objectFormatter) Description copied from interface:RowFormatterFactoryCreates a newRowFormatterinstance.- Specified by:
createin interfaceRowFormatterFactory- Parameters:
parameterType- the type of the table parameterparameterName- the name of the table parametertableAnnotation- theTableannotation of the parameterannotations- all annotations of the table parameter including theTableannotationconfiguration- the formatter configurationobjectFormatter- the standard object formatter that would be used by JGiven- Returns:
- an instance of
RowFormatter
-