Package io.cucumber.java
Annotation Type DefaultDataTableCellTransformer
@Retention(RUNTIME)
@Target(METHOD)
@API(status=STABLE)
public @interface DefaultDataTableCellTransformer
Register default data table cell transformer.
Valid method signatures are:
String, Type -> Object
Object, Type -> Object
- See Also:
-
TableCellByTypeTransformer
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:
- {}
-