Trait

io.cucumber.scala

JacksonDefaultDataTableEntryTransformer

Related Doc: package scala

Permalink

trait JacksonDefaultDataTableEntryTransformer extends ScalaDsl

This trait register a DefaultDataTableEntryTransformer using Jackson ObjectMapper.

The [empty] string is used as default empty string replacement. You can override it if you need to.

Note: Jackson is not included with Cucumber Scala, you have to add the dependency: com.fasterxml.jackson.module:jackson-module-scala_2.xx to your project if you want to use this trait.

Linear Supertypes
ScalaDsl, DefaultTransformerDsl, ParameterTypeDsl, DocStringTypeDsl, DataTableTypeDsl, HookDsl, StepDsl, BaseScalaDsl, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JacksonDefaultDataTableEntryTransformer
  2. ScalaDsl
  3. DefaultTransformerDsl
  4. ParameterTypeDsl
  5. DocStringTypeDsl
  6. DataTableTypeDsl
  7. HookDsl
  8. StepDsl
  9. BaseScalaDsl
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class DataTableTypeBody extends AnyRef

    Permalink
    Definition Classes
    DataTableTypeDsl
  2. final class Fun0 extends AnyRef

    Permalink
    Definition Classes
    StepDsl
  3. final class HookBody extends AnyRef

    Permalink
    Definition Classes
    HookDsl
  4. final class ParameterTypeBody extends AnyRef

    Permalink
    Definition Classes
    ParameterTypeDsl
  5. final class Step extends AnyRef

    Permalink
    Definition Classes
    StepDsl
  6. final class StepBody extends AnyRef

    Permalink
    Definition Classes
    StepDsl

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def After(tagExpression: String, order: Int): HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  5. def After(order: Int): HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  6. def After(tagExpression: String): HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  7. def After: HookBody

    Permalink

    Defines and after hook.

    Defines and after hook.

    Definition Classes
    HookDsl
  8. def AfterStep(tagExpression: String, order: Int): HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  9. def AfterStep(order: Int): HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  10. def AfterStep(tagExpression: String): HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  11. def AfterStep: HookBody

    Permalink

    Defines and after step hook.

    Defines and after step hook.

    Definition Classes
    HookDsl
  12. def Before(tagExpression: String, order: Int): HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  13. def Before(order: Int): HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  14. def Before(tagExpression: String): HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  15. def Before: HookBody

    Permalink

    Defines an before hook.

    Defines an before hook.

    Definition Classes
    HookDsl
  16. def BeforeStep(tagExpression: String, order: Int): HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  17. def BeforeStep(order: Int): HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    order

    the order in which this hook should run. Higher numbers are run first

    Definition Classes
    HookDsl
  18. def BeforeStep(tagExpression: String): HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    tagExpression

    a tag expression, if the expression applies to the current scenario this hook will be executed

    Definition Classes
    HookDsl
  19. def BeforeStep: HookBody

    Permalink

    Defines an before step hook.

    Defines an before step hook.

    Definition Classes
    HookDsl
  20. val DEFAULT_AFTER_ORDER: Int

    Permalink
    Definition Classes
    BaseScalaDsl
  21. val DEFAULT_BEFORE_ORDER: Int

    Permalink
    Definition Classes
    BaseScalaDsl
  22. def DataTableType(replaceWithEmptyString: String): DataTableTypeBody

    Permalink

    Register a data table type with a replacement.

    Register a data table type with a replacement.

    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.

    replaceWithEmptyString

    a string that will be replaced with an empty string.

    Definition Classes
    DataTableTypeDsl
  23. def DataTableType: DataTableTypeBody

    Permalink

    Register a data table type.

    Register a data table type.

    Definition Classes
    DataTableTypeDsl
  24. def DefaultDataTableCellTransformer(replaceWithEmptyString: String)(body: DefaultDataTableCellTransformerBody): Unit

    Permalink

    Register default data table cell transformer with a replacement.

    Register default data table cell transformer with a replacement.

    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. *

    replaceWithEmptyString

    a string that will be replaced with an empty string.

    body

    converts String argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  25. def DefaultDataTableCellTransformer(body: DefaultDataTableCellTransformerBody): Unit

    Permalink

    Register default data table cell transformer.

    Register default data table cell transformer.

    body

    converts String argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  26. def DefaultDataTableEntryTransformer(replaceWithEmptyString: String)(body: DefaultDataTableEntryTransformerBody): Unit

    Permalink

    Register default data table cell transformer with a replacement.

    Register default data table cell transformer with a replacement.

    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.

    replaceWithEmptyString

    a string that will be replaced with an empty string.

    body

    converts Map[String,String] argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  27. def DefaultDataTableEntryTransformer(body: DefaultDataTableEntryTransformerBody): Unit

    Permalink

    Register default data table entry transformer.

    Register default data table entry transformer.

    body

    converts Map[String,String] argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  28. def DefaultParameterTransformer(body: DefaultParameterTransformerBody): Unit

    Permalink

    Register default parameter type transformer.

    Register default parameter type transformer.

    body

    converts String argument to an instance of the Type argument

    Definition Classes
    DefaultTransformerDsl
  29. def DocStringType[T](contentType: String)(body: DocStringDefinitionBody[T])(implicit ev: ClassTag[T]): Unit

    Permalink

    Register doc string type.

    Register doc string type.

    T

    type to convert to

    contentType

    Name of the content type.

    body

    a function that creates an instance of T from the doc string

    Definition Classes
    DocStringTypeDsl
  30. val EMPTY_TAG_EXPRESSION: String

    Permalink
    Definition Classes
    BaseScalaDsl
  31. object Fun0

    Permalink
    Definition Classes
    StepDsl
  32. val NO_REPLACEMENT: Seq[String]

    Permalink
    Definition Classes
    BaseScalaDsl
  33. def ParameterType(name: String, regex: String): ParameterTypeBody

    Permalink

    Register parameter type.

    Register parameter type.

    name

    used as the type name in typed expressions

    regex

    expression to match

    Definition Classes
    ParameterTypeDsl
    See also

    https://cucumber.io/docs/cucumber/cucumber-expressions

  34. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  35. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  36. def createObjectMapper(): ObjectMapper

    Permalink

    Create the Jackson ObjectMapper to be used.

    Create the Jackson ObjectMapper to be used. Default is a simple ObjectMapper with DefaultScalaModule registered.

  37. def emptyStringReplacement: String

    Permalink

    Define the string to be used as replacement for empty.

    Define the string to be used as replacement for empty. Default is [empty].

  38. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ScalaDsl

Inherited from DefaultTransformerDsl

Inherited from ParameterTypeDsl

Inherited from DocStringTypeDsl

Inherited from DataTableTypeDsl

Inherited from HookDsl

Inherited from StepDsl

Inherited from BaseScalaDsl

Inherited from AnyRef

Inherited from Any

Ungrouped