Package io.cucumber.docstring
Class DocStringType
java.lang.Object
io.cucumber.docstring.DocStringType
A data table type describes how a doc string should be represented as an
object.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDocStringType(Type type, String contentType, DocStringType.Transformer<T> transformer) Creates a doc string type that can convert a doc string to an object. -
Method Summary
-
Constructor Details
-
DocStringType
Creates a doc string type that can convert a doc string to an object.- Type Parameters:
T- seetype- Parameters:
type- the type of the objectcontentType- the media type or GFM info stringtransformer- a function that creates an instance oftypefrom the doc string
-