Package io.cucumber.java
Annotation Type DataTableType
Register a data table type.
The signature of the method is used to determine which data table type is registered:
String -> Author
will register aTableCellTransformer
Map<String, String> -> Author
will register aTableEntryTransformer
List<String> -> Author
will register aTableRowTransformer
DataTable -> Author
will register aTableTransformer
Author
is an example of the class you want to convert the table
to.- See Also:
-
DataTableType
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
Replace these strings in the Datatable with empty strings.
-
Element Details
-
replaceWithEmptyString
String[] replaceWithEmptyStringReplace these strings in the Datatable with empty strings.A data table can only represent absent and non-empty strings. By replacing a known value (for example [empty]) a data table can also represent empty strings.
It is not recommended to use multiple replacements in the same table.
- Returns:
- strings to be replaced with empty strings.
- Default:
- {}
-