abstract class DslPart extends AnyRef

Abstract base class to support Object and Array JSON DSL builders

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

Instance Constructors

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

Abstract Value Members

  1. abstract def array(): PactDslJsonArray

    Element as an array

  2. abstract def array(name: String): PactDslJsonArray

    Field which is an array

    Field which is an array

    name

    field name

  3. abstract 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

  4. abstract def closeArray(): DslPart

    Close of the previous array element

  5. abstract def closeObject(): DslPart

    Close off the previous object

  6. abstract 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

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

  8. abstract def eachArrayLike(): PactDslJsonArray

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

  9. abstract 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

  10. abstract 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

  11. abstract 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

  12. abstract 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

  13. abstract 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

  14. abstract 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

  15. abstract 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

  16. abstract 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

  17. abstract 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

  18. abstract def eachLike(numberExamples: Int): PactDslJsonBody

    Array element where each element of the array must match the following object

    Array element where each element of the array must match the following object

    numberExamples

    number of examples to generate

  19. abstract 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

  20. abstract def eachLike(): PactDslJsonBody

    Array element where each element of the array must match the following object

  21. abstract 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

  22. abstract def getBody(): AnyRef
  23. abstract def maxArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody

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

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

    size

    minimum size

    numberExamples

    number of examples to generate

  24. abstract 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

  25. abstract def maxArrayLike(size: Integer): PactDslJsonBody

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

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

    size

    minimum size

  26. abstract 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

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

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

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

    size

    minimum size

    numberExamples

    number of examples to generate

  28. abstract 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

  29. abstract def minArrayLike(size: Integer): PactDslJsonBody

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

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

    size

    minimum size

  30. abstract 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

  31. abstract def object(): PactDslJsonBody

    Object element

  32. abstract def object(name: String): PactDslJsonBody

    Object field

    Object field

    name

    field name

  33. abstract def putArray(object: DslPart): Unit
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  34. abstract def putObject(object: DslPart): Unit
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  35. abstract def arrayLike(): PactDslJsonBody

    Array element where each element of the array must match the following object

    Array element where each element of the array must match the following object

    Deprecated

    Use eachLike instead

  36. abstract 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

    Deprecated

    Use eachLike instead

Concrete 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 asArray(): PactDslJsonArray
  5. def asBody(): PactDslJsonBody
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def getGenerators(): Generators
  13. def getMatchers(): Category
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. def includesMatcher(value: Any): IncludeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def matchDate(format: String): DateMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  18. def matchMax(max: Integer): MaxTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  19. def matchMin(min: Integer): MinTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  20. def matchTime(format: String): TimeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  21. def matchTimestamp(format: String): TimestampMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. def regexp(regex: String): RegexMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
  26. def setGenerators(generators: Generators): Unit
  27. def setMatchers(matchers: Category): Unit
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped