class PactDslJsonRootValue extends DslPart
- Alphabetic
- By Inheritance
- PactDslJsonRootValue
- DslPart
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PactDslJsonRootValue()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
asArray(): PactDslJsonArray
- Definition Classes
- DslPart
-
def
asBody(): PactDslJsonBody
- Definition Classes
- DslPart
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
- PactDslJsonRootValue → DslPart
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBody(): AnyRef
- Definition Classes
- PactDslJsonRootValue → DslPart
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getGenerators(): Generators
- Definition Classes
- DslPart
-
def
getMatchers(): Category
- Definition Classes
- DslPart
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
includesMatcher(value: Any): IncludeMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
isEncodeJson(): Boolean
If the value should be encoded to be safe as JSON
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
matchDate(format: String): DateMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
matchMax(max: Integer): MaxTypeMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
matchMin(min: Integer): MinTypeMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
matchTime(format: String): TimeMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
matchTimestamp(format: String): TimestampMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
matchUrl(basePath: String, pathFragments: <repeated...>[AnyRef]): PactDslJsonRootValue
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
putArray(object: DslPart): Unit
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- PactDslJsonRootValue → DslPart
-
def
putObject(object: DslPart): Unit
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- PactDslJsonRootValue → DslPart
-
def
regexp(regex: String): RegexMatcher
- Attributes
- protected[au.com.dius.pact.consumer.dsl]
- Definition Classes
- DslPart
-
def
setEncodeJson(encodeJson: Boolean): Unit
If the value should be encoded to be safe as JSON
-
def
setGenerators(generators: Generators): Unit
- Definition Classes
- DslPart
- def setMatcher(matcher: MatchingRule): Unit
-
def
setMatchers(matchers: Category): Unit
- Definition Classes
- DslPart
- def setValue(value: Any): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
array(): PactDslJsonArray
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
array(name: String): PactDslJsonArray
- name
field name
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
arrayLike(): PactDslJsonBody
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
arrayLike(name: String): PactDslJsonBody
- name
field name
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
closeArray(): DslPart
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
closeObject(): DslPart
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonBody for objects
-
def
eachArrayLike(): PactDslJsonArray
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayLike(name: String, numberExamples: Int): PactDslJsonArray
- name
field name
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayLike(numberExamples: Int): PactDslJsonArray
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayLike(name: String): PactDslJsonArray
- name
field name
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayWithMaxLike(numberExamples: Int, size: Integer): PactDslJsonArray
- numberExamples
number of examples to generate
- size
Maximum size of the outer array
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
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
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayWithMaxLike(size: Integer): PactDslJsonArray
- size
Maximum size of the outer array
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayWithMaxLike(name: String, size: Integer): PactDslJsonArray
- name
field name
- size
Maximum size of the outer array
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayWithMinLike(numberExamples: Int, size: Integer): PactDslJsonArray
- numberExamples
number of examples to generate
- size
Minimum size of the outer array
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
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
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayWithMinLike(size: Integer): PactDslJsonArray
- size
Minimum size of the outer array
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachArrayWithMinLike(name: String, size: Integer): PactDslJsonArray
- name
field name
- size
Minimum size of the outer array
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachLike(): PactDslJsonBody
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachLike(name: String, numberExamples: Int): PactDslJsonBody
- name
field name
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachLike(numberExamples: Int): PactDslJsonBody
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
eachLike(name: String): PactDslJsonBody
- name
field name
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
maxArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody
- size
minimum size
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
maxArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody
- name
field name
- size
maximum size
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
maxArrayLike(size: Integer): PactDslJsonBody
- size
minimum size
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
maxArrayLike(name: String, size: Integer): PactDslJsonBody
- name
field name
- size
maximum size
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
minArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody
- size
minimum size
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
minArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody
- name
field name
- size
minimum size
- numberExamples
number of examples to generate
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
minArrayLike(size: Integer): PactDslJsonBody
- size
minimum size
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
minArrayLike(name: String, size: Integer): PactDslJsonBody
- name
field name
- size
minimum size
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonArray for arrays
-
def
object(): PactDslJsonBody
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonBody for objects
-
def
object(name: String): PactDslJsonBody
- name
field name
- Definition Classes
- PactDslJsonRootValue → DslPart
- Deprecated
Use PactDslJsonBody for objects