Packages

c

au.com.dius.pact.consumer.dsl

PactDslRootValue

class PactDslRootValue extends DslPart

Matcher to create a plain root matching strategy. Used with text/plain to match regex responses

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

Instance Constructors

  1. new PactDslRootValue()

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

Deprecated Value Members

  1. def array(): PactDslJsonArray

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  2. def array(name: String): PactDslJsonArray

    name

    field name

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  3. def arrayLike(): PactDslJsonBody

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  4. def arrayLike(name: String): PactDslJsonBody

    name

    field name

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  5. def closeArray(): DslPart

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  6. def closeObject(): DslPart

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonBody for objects

  7. def eachArrayLike(): PactDslJsonArray

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  8. def eachArrayLike(name: String, numberExamples: Int): PactDslJsonArray

    name

    field name

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  9. def eachArrayLike(numberExamples: Int): PactDslJsonArray

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  10. def eachArrayLike(name: String): PactDslJsonArray

    name

    field name

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  11. def eachArrayWithMaxLike(numberExamples: Int, size: Integer): PactDslJsonArray

    numberExamples

    number of examples to generate

    size

    Maximum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  12. def eachArrayWithMaxLike(name: String, numberExamples: Int, size: Integer): PactDslJsonArray

    name

    field name

    numberExamples

    number of examples to generate

    size

    Maximum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  13. def eachArrayWithMaxLike(size: Integer): PactDslJsonArray

    size

    Maximum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  14. def eachArrayWithMaxLike(name: String, size: Integer): PactDslJsonArray

    name

    field name

    size

    Maximum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  15. def eachArrayWithMinLike(numberExamples: Int, size: Integer): PactDslJsonArray

    numberExamples

    number of examples to generate

    size

    Minimum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  16. def eachArrayWithMinLike(name: String, numberExamples: Int, size: Integer): PactDslJsonArray

    name

    field name

    numberExamples

    number of examples to generate

    size

    Minimum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  17. def eachArrayWithMinLike(size: Integer): PactDslJsonArray

    size

    Minimum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  18. def eachArrayWithMinLike(name: String, size: Integer): PactDslJsonArray

    name

    field name

    size

    Minimum size of the outer array

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  19. def eachArrayWithMinMaxLike(numberExamples: Int, minSize: Integer, maxSize: Integer): PactDslJsonArray

    numberExamples

    number of examples to generate

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  20. def eachArrayWithMinMaxLike(name: String, numberExamples: Int, minSize: Integer, maxSize: Integer): PactDslJsonArray

    name

    field name

    numberExamples

    number of examples to generate

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  21. def eachArrayWithMinMaxLike(minSize: Integer, maxSize: Integer): PactDslJsonArray

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  22. def eachArrayWithMinMaxLike(name: String, minSize: Integer, maxSize: Integer): PactDslJsonArray

    name

    field name

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  23. def eachLike(): PactDslJsonBody

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  24. def eachLike(name: String, numberExamples: Int): PactDslJsonBody

    name

    field name

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  25. def eachLike(numberExamples: Int): PactDslJsonBody

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  26. def eachLike(name: String): PactDslJsonBody

    name

    field name

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

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

    size

    minimum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  28. def maxArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody

    name

    field name

    size

    maximum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  29. def maxArrayLike(size: Integer): PactDslJsonBody

    size

    minimum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  30. def maxArrayLike(name: String, size: Integer): PactDslJsonBody

    name

    field name

    size

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

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

    size

    minimum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  32. def minArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody

    name

    field name

    size

    minimum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  33. def minArrayLike(size: Integer): PactDslJsonBody

    size

    minimum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  34. def minArrayLike(name: String, size: Integer): PactDslJsonBody

    name

    field name

    size

    minimum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  35. def minMaxArrayLike(minSize: Integer, maxSize: Integer, numberExamples: Int): PactDslJsonBody

    minSize

    minimum size

    maxSize

    maximum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  36. def minMaxArrayLike(name: String, minSize: Integer, maxSize: Integer, numberExamples: Int): PactDslJsonBody

    name

    field name

    minSize

    minimum size

    maxSize

    maximum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  37. def minMaxArrayLike(minSize: Integer, maxSize: Integer): PactDslJsonBody

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  38. def minMaxArrayLike(name: String, minSize: Integer, maxSize: Integer): PactDslJsonBody

    name

    field name

    minSize

    minimum size

    maxSize

    maximum size

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonArray for arrays

  39. def object(): PactDslJsonBody

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonBody for objects

  40. def object(name: String): PactDslJsonBody

    name

    field name

    Definition Classes
    PactDslRootValueDslPart
    Deprecated

    Use PactDslJsonBody for objects

Inherited from DslPart

Inherited from AnyRef

Inherited from Any

Ungrouped