Packages

c

au.com.dius.pact.consumer.dsl

PactDslJsonArray

class PactDslJsonArray extends DslPart

DSL to define a JSON array

Linear Supertypes
DslPart, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PactDslJsonArray
  2. DslPart
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PactDslJsonArray(rootPath: String, rootName: String, parent: DslPart, wildCard: Boolean)

    Construct a array as a child

    Construct a array as a child

    rootPath

    Path to the child array

    rootName

    Name to associate the child as

    parent

    Parent to attach the child to

    wildCard

    If it should be matched as a wild card

  2. new PactDslJsonArray(rootPath: String, rootName: String, parent: DslPart, array: PactDslJsonArray)

    Construct an array as a child copied from an existing array

    Construct an array as a child copied from an existing array

    rootPath

    Path to the child array

    rootName

    Name to associate the child as

    parent

    Parent to attach the child to

    array

    Array to copy

  3. new PactDslJsonArray(rootPath: String, rootName: String, parent: DslPart)

    Construct an array as a child

    Construct an array as a child

    rootPath

    Path to the child array

    rootName

    Name to associate the child as

    parent

    Parent to attach the child to

  4. new PactDslJsonArray()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def and(value: Any, rules: <repeated...>[MatchingRule]): PactDslJsonArray

    Combine all the matchers using AND

    Combine all the matchers using AND

    value

    Attribute example value

    rules

    Matching rules to apply

  5. def array(): PactDslJsonArray

    Element that is a JSON array

    Element that is a JSON array

    Definition Classes
    PactDslJsonArrayDslPart
  6. def array(name: String): PactDslJsonArray

    Field which is an array

    Field which is an array

    name

    field name

    Definition Classes
    PactDslJsonArrayDslPart
  7. def asArray(): PactDslJsonArray
    Definition Classes
    DslPart
  8. def asBody(): PactDslJsonBody
    Definition Classes
    DslPart
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def booleanType(example: Boolean): PactDslJsonArray

    Element that must be a boolean

    Element that must be a boolean

    example

    example boolean to use for generated bodies

  11. def booleanType(): PactDslJsonArray

    Element that must be a boolean

  12. def booleanValue(value: Boolean): PactDslJsonArray

    Element that must be the specified value

    Element that must be the specified value

    value

    boolean value

  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def close(): DslPart

    This closes off the object graph build from the DSL in case any close[Object|Array] methods have not been called.

    This closes off the object graph build from the DSL in case any close[Object|Array] methods have not been called.

    returns

    The root object of the object graph

    Definition Classes
    PactDslJsonArrayDslPart
  15. def closeArray(): DslPart

    Closes the current array

    Closes the current array

    Definition Classes
    PactDslJsonArrayDslPart
  16. def closeObject(): DslPart

    Close off the previous object

    Close off the previous object

    Definition Classes
    PactDslJsonArrayDslPart
  17. def date(format: String, example: Date): PactDslJsonArray

    Element that must match the provided date format

    Element that must match the provided date format

    format

    date format to match

    example

    example date to use for generated values

  18. def date(format: String): PactDslJsonArray

    Element that must match the provided date format

    Element that must match the provided date format

    format

    date format to match

  19. def date(): PactDslJsonArray

    Element that must be formatted as an ISO date

  20. def dateExpression(expression: String, format: String): PactDslJsonArray

    Adds a date value with the value generated by the date expression

    Adds a date value with the value generated by the date expression

    expression

    Date expression to use to generate the values

    format

    Date format to use

  21. def dateExpression(expression: String): PactDslJsonArray

    Adds a date value formatted as an ISO date with the value generated by the date expression

    Adds a date value formatted as an ISO date with the value generated by the date expression

    expression

    Date expression to use to generate the values

  22. def datetimeExpression(expression: String, format: String): PactDslJsonArray

    Adds a datetime value with the value generated by the expression

    Adds a datetime value with the value generated by the expression

    expression

    Datetime expression to use to generate the values

    format

    Datetime format to use

  23. def datetimeExpression(expression: String): PactDslJsonArray

    Adds a datetime value formatted as an ISO datetime with the value generated by the expression

    Adds a datetime value formatted as an ISO datetime with the value generated by the expression

    expression

    Datetime expression to use to generate the values

  24. def decimalType(number: Double): PactDslJsonArray

    Attribute that must be a decimalType value

    Attribute that must be a decimalType value

    number

    example decimalType value

  25. def decimalType(number: BigDecimal): PactDslJsonArray

    Element that must be a decimalType value

    Element that must be a decimalType value

    number

    example decimalType value

  26. def decimalType(): PactDslJsonArray

    Element that must be a decimal value

  27. def eachArrayLike(numberExamples: Int): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  28. def eachArrayLike(): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    Definition Classes
    PactDslJsonArrayDslPart
  29. def eachArrayLike(name: String, numberExamples: Int): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  30. def eachArrayLike(name: String): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    Definition Classes
    PactDslJsonArrayDslPart
  31. def eachArrayWithMaxLike(numberExamples: Int, size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  32. def eachArrayWithMaxLike(size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  33. def eachArrayWithMaxLike(name: String, numberExamples: Int, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  34. def eachArrayWithMaxLike(name: String, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  35. def eachArrayWithMinLike(numberExamples: Int, size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  36. def eachArrayWithMinLike(size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  37. def eachArrayWithMinLike(name: String, numberExamples: Int, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  38. def eachArrayWithMinLike(name: String, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonArrayDslPart
  39. def eachArrayWithMinMaxLike(numberExamples: Int, minSize: Integer, maxSize: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  40. def eachArrayWithMinMaxLike(name: String, numberExamples: Int, minSize: Integer, maxSize: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  41. def eachArrayWithMinMaxLike(minSize: Integer, maxSize: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  42. def eachArrayWithMinMaxLike(name: String, minSize: Integer, maxSize: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  43. def eachLike(value: PactDslJsonRootValue, numberExamples: Int): PactDslJsonArray

    Array of values that are not objects where each item must match the provided example

    Array of values that are not objects where each item must match the provided example

    value

    Value to use to match each item

    numberExamples

    number of examples to generate

  44. def eachLike(value: PactDslJsonRootValue): PactDslJsonArray

    Array of values that are not objects where each item must match the provided example

    Array of values that are not objects where each item must match the provided example

    value

    Value to use to match each item

  45. def eachLike(numberExamples: Int): PactDslJsonBody

    Element that is an array where each item must match the following example

    Element that is an array where each item must match the following example

    numberExamples

    Number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  46. def eachLike(): PactDslJsonBody

    Element that is an array where each item must match the following example

    Element that is an array where each item must match the following example

    Definition Classes
    PactDslJsonArrayDslPart
  47. def eachLike(name: String, numberExamples: Int): PactDslJsonBody

    Array field where each element must match the following object

    Array field where each element must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  48. def eachLike(name: String): PactDslJsonBody

    Array field where each element must match the following object

    Array field where each element must match the following object

    name

    field name

    Definition Classes
    PactDslJsonArrayDslPart
  49. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  51. def equalsTo(value: Any): PactDslJsonArray

    Attribute that must be equal to the provided value.

    Attribute that must be equal to the provided value.

    value

    Value that will be used for comparisons

  52. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  53. def getBody(): AnyRef
    Definition Classes
    PactDslJsonArrayDslPart
  54. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  55. def getGenerators(): Generators
    Definition Classes
    DslPart
  56. def getMatchers(): Category
    Definition Classes
    DslPart
  57. def getNumberExamples(): Int

    Returns the number of example elements to generate for sample bodies

  58. def getParent(): DslPart

    Returns the parent of this part (object or array)

    Returns the parent of this part (object or array)

    returns

    parent, or null if it is the root

    Definition Classes
    DslPart
  59. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  60. def hexValue(hexValue: String): PactDslJsonArray

    Element that must be encoded as a hexadecimal value

    Element that must be encoded as a hexadecimal value

    hexValue

    example value to use for generated bodies

  61. def hexValue(): PactDslJsonArray

    Element that must be encoded as a hexadecimal value

  62. def id(id: Long): PactDslJsonArray

    Element that must be a numeric identifier

    Element that must be a numeric identifier

    id

    example id to use for generated bodies

  63. def id(): PactDslJsonArray

    Element that must be a numeric identifier

  64. def includesMatcher(value: Any): IncludeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  65. def includesStr(value: String): PactDslJsonArray

    List item that must include the provided string

    List item that must include the provided string

    value

    Value that must be included

  66. def integerType(number: Long): PactDslJsonArray

    Element that must be an integer

    Element that must be an integer

    number

    example integer value to use for generated bodies

  67. def integerType(): PactDslJsonArray

    Element that must be an integer

  68. def ipAddress(): PactDslJsonArray

    Element that must be an IP4 address

  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def matchDate(format: String): DateMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  71. def matchMax(max: Integer): MaxTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  72. def matchMin(min: Integer): MinTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  73. def matchMinMax(minSize: Integer, maxSize: Integer): MinMaxTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  74. def matchTime(format: String): TimeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  75. def matchTimestamp(format: String): model.matchingrules.TimestampMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  76. def matchUrl(basePath: String, pathFragments: <repeated...>[AnyRef]): PactDslJsonArray

    Matches a URL that is composed of a base path and a sequence of path expressions

    Matches a URL that is composed of a base path and a sequence of path expressions

    basePath

    The base path for the URL (like "http://localhost:8080/") which will be excluded from the matching

    pathFragments

    Series of path fragments to match on. These can be strings or regular expressions.

  77. def maxArrayLike(size: Integer, value: PactDslJsonRootValue, numberExamples: Int): PactDslJsonArray

    Array of values with a maximum size that are not objects where each item must match the provided example

    Array of values with a maximum size that are not objects where each item must match the provided example

    size

    maximum size of the array

    value

    Value to use to match each item

    numberExamples

    number of examples to generate

  78. def maxArrayLike(size: Integer, value: PactDslJsonRootValue): PactDslJsonArray

    Array of values with a maximum size that are not objects where each item must match the provided example

    Array of values with a maximum size that are not objects where each item must match the provided example

    size

    maximum size of the array

    value

    Value to use to match each item

  79. def maxArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody

    Element that is an array with a maximum size where each item must match the following example

    Element that is an array with a maximum size where each item must match the following example

    size

    maximum size of the array

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  80. def maxArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody

    Array field with a maximum size and each element must match the provided object

    Array field with a maximum size and each element must match the provided object

    name

    field name

    size

    maximum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  81. def maxArrayLike(size: Integer): PactDslJsonBody

    Element that is an array with a maximum size where each item must match the following example

    Element that is an array with a maximum size where each item must match the following example

    size

    maximum size of the array

    Definition Classes
    PactDslJsonArrayDslPart
  82. def maxArrayLike(name: String, size: Integer): PactDslJsonBody

    Array field with a maximum size and each element must match the provided object

    Array field with a maximum size and each element must match the provided object

    name

    field name

    size

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  83. def minArrayLike(size: Integer, value: PactDslJsonRootValue, numberExamples: Int): PactDslJsonArray

    Array of values with a minimum size that are not objects where each item must match the provided example

    Array of values with a minimum size that are not objects where each item must match the provided example

    size

    minimum size of the array

    value

    Value to use to match each item

    numberExamples

    number of examples to generate

  84. def minArrayLike(size: Integer, value: PactDslJsonRootValue): PactDslJsonArray

    Array of values with a minimum size that are not objects where each item must match the provided example

    Array of values with a minimum size that are not objects where each item must match the provided example

    size

    minimum size of the array

    value

    Value to use to match each item

  85. def minArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody

    Element that is an array with a minimum size where each item must match the following example

    Element that is an array with a minimum size where each item must match the following example

    size

    minimum size of the array

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  86. def minArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody

    Array field with a minumum size and each element must match the provided object

    Array field with a minumum size and each element must match the provided object

    name

    field name

    size

    minimum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  87. def minArrayLike(size: Integer): PactDslJsonBody

    Element that is an array with a minimum size where each item must match the following example

    Element that is an array with a minimum size where each item must match the following example

    size

    minimum size of the array

    Definition Classes
    PactDslJsonArrayDslPart
  88. def minArrayLike(name: String, size: Integer): PactDslJsonBody

    Array field with a minumum size and each element must match the provided object

    Array field with a minumum size and each element must match the provided object

    name

    field name

    size

    minimum size

    Definition Classes
    PactDslJsonArrayDslPart
  89. def minMaxArrayLike(minSize: Integer, maxSize: Integer, numberExamples: Int): PactDslJsonBody

    Array element with a minimum and maximum size and each element of the array must match the provided object

    Array element with a minimum and maximum size and each element of the array must match the provided object

    minSize

    minimum size

    maxSize

    maximum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  90. def minMaxArrayLike(name: String, minSize: Integer, maxSize: Integer, numberExamples: Int): PactDslJsonBody

    Array field with a minimum and maximum size and each element must match the provided object

    Array field with a minimum and maximum size and each element must match the provided object

    name

    field name

    minSize

    minimum size

    maxSize

    maximum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonArrayDslPart
  91. def minMaxArrayLike(minSize: Integer, maxSize: Integer): PactDslJsonBody

    Array element with a minimum and maximum size and each element of the array must match the provided object

    Array element with a minimum and maximum size and each element of the array must match the provided object

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  92. def minMaxArrayLike(name: String, minSize: Integer, maxSize: Integer): PactDslJsonBody

    Array field with a minimum and maximum size and each element must match the provided object

    Array field with a minimum and maximum size and each element must match the provided object

    name

    field name

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslJsonArrayDslPart
  93. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  94. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  95. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  96. def nullValue(): PactDslJsonArray

    Adds a null value to the list

  97. def number(value: Number): PactDslJsonArray

    Element that must be the specified value

    Element that must be the specified value

    value

    number value

  98. def numberType(number: Number): PactDslJsonArray

    Element that can be any number

    Element that can be any number

    number

    example number to use for generated bodies

  99. def numberType(): PactDslJsonArray

    Element that can be any number

  100. def numberValue(value: Number): PactDslJsonArray
  101. def object(): PactDslJsonBody

    Element that is a JSON object

    Element that is a JSON object

    Definition Classes
    PactDslJsonArrayDslPart
  102. def object(name: String): PactDslJsonBody

    Object field

    Object field

    name

    field name

    Definition Classes
    PactDslJsonArrayDslPart
  103. def or(value: Any, rules: <repeated...>[MatchingRule]): PactDslJsonArray

    Combine all the matchers using OR

    Combine all the matchers using OR

    value

    Attribute example value

    rules

    Matching rules to apply

  104. def putArray(object: DslPart): Unit
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    PactDslJsonArrayDslPart
  105. def putObject(object: DslPart): Unit
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    PactDslJsonArrayDslPart
  106. def regexp(regex: String): RegexMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  107. def setGenerators(generators: Generators): Unit
    Definition Classes
    DslPart
  108. def setMatchers(matchers: Category): Unit
    Definition Classes
    DslPart
  109. def setNumberExamples(numberExamples: Int): Unit

    Sets the number of example elements to generate for sample bodies

  110. def string(value: String): PactDslJsonArray

    Element that must be the specified value

    Element that must be the specified value

    value

    string value

  111. def stringMatcher(regex: String, value: String): PactDslJsonArray

    Element that must match the regular expression

    Element that must match the regular expression

    regex

    regular expression

    value

    example value to use for generated bodies

  112. def stringType(example: String): PactDslJsonArray

    Element that can be any string

    Element that can be any string

    example

    example value to use for generated bodies

  113. def stringType(): PactDslJsonArray

    Element that can be any string

  114. def stringValue(value: String): PactDslJsonArray

    Element that must be the specified value

    Element that must be the specified value

    value

    string value

  115. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  116. def template(template: DslPart, occurrences: Int): PactDslJsonArray

    Adds a number of template objects to the array

    Adds a number of template objects to the array

    template

    template object

    occurrences

    number to add

  117. def template(template: DslPart): PactDslJsonArray

    Adds the template object to the array

    Adds the template object to the array

    template

    template object

  118. def time(format: String, example: Date): PactDslJsonArray

    Element that must match the given time format

    Element that must match the given time format

    format

    time format to match

    example

    example time to use for generated bodies

  119. def time(format: String): PactDslJsonArray

    Element that must match the given time format

    Element that must match the given time format

    format

    time format to match

  120. def time(): PactDslJsonArray

    Element that must be an ISO formatted time

  121. def timeExpression(expression: String, format: String): PactDslJsonArray

    Adds a time value with the value generated by the time expression

    Adds a time value with the value generated by the time expression

    expression

    Time expression to use to generate the values

    format

    Time format to use

  122. def timeExpression(expression: String): PactDslJsonArray

    Adds a time value formatted as an ISO time with the value generated by the time expression

    Adds a time value formatted as an ISO time with the value generated by the time expression

    expression

    Time expression to use to generate the values

  123. def timestamp(format: String, example: Instant): PactDslJsonArray

    Element that must match the given timestamp format

    Element that must match the given timestamp format

    format

    timestamp format

    example

    example date and time to use for generated bodies

  124. def timestamp(format: String, example: Date): PactDslJsonArray

    Element that must match the given timestamp format

    Element that must match the given timestamp format

    format

    timestamp format

    example

    example date and time to use for generated bodies

  125. def timestamp(format: String): PactDslJsonArray

    Element that must match the given timestamp format

    Element that must match the given timestamp format

    format

    timestamp format

  126. def timestamp(): PactDslJsonArray

    Element that must be an ISO formatted timestamp

  127. def toString(): String
    Definition Classes
    PactDslJsonArray → AnyRef → Any
  128. def uuid(uuid: String): PactDslJsonArray

    Element that must be encoded as an UUID

    Element that must be encoded as an UUID

    uuid

    example UUID to use for generated bodies

  129. def uuid(): PactDslJsonArray

    Element that must be encoded as an UUID

  130. def valueFromProviderState(expression: String, example: Any): PactDslJsonArray

    Adds an element that will have it's value injected from the provider state

    Adds an element that will have it's value injected from the provider state

    expression

    Expression to be evaluated from the provider state

    example

    Example value to be used in the consumer test

  131. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  132. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def arrayLike(): PactDslJsonBody

    Element that is an array where each item must match the following example

    Element that is an array where each item must match the following example

    Definition Classes
    PactDslJsonArrayDslPart
    Deprecated

    use eachLike

  2. def arrayLike(name: String): PactDslJsonBody

    Array field where each element must match the following object

    Array field where each element must match the following object

    name

    field name

    Definition Classes
    PactDslJsonArrayDslPart
    Deprecated

    Use eachLike instead

  3. def guid(uuid: String): PactDslJsonArray

    Element that must be encoded as a GUID

    Element that must be encoded as a GUID

    uuid

    example UUID to use for generated bodies

    Deprecated

    use uuid instead

  4. def guid(): PactDslJsonArray

    Element that must be encoded as a GUID

    Element that must be encoded as a GUID

    Deprecated

    use uuid instead

  5. def realType(number: Double): PactDslJsonArray

    Element that must be a real value

    Element that must be a real value

    number

    example real value

    Deprecated

    Use decimalType instead

  6. def realType(): PactDslJsonArray

    Element that must be a real value

    Element that must be a real value

    Deprecated

    Use decimalType instead

  7. def stringMatcher(regex: String): PactDslJsonArray

    Element that must match the regular expression

    Element that must match the regular expression

    regex

    regular expression

    Deprecated

    Use the version that takes an example value

Inherited from DslPart

Inherited from AnyRef

Inherited from Any

Ungrouped