-
public final class PactDslJsonArrayContaining extends PactDslJsonArray
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPactDslJsonArrayContaining.Companion
-
Constructor Summary
Constructors Constructor Description PactDslJsonArrayContaining(String root, String rootName, DslPart parent)
-
Method Summary
Modifier and Type Method Description final StringgetRoot()final JsonValuegetBody()final UnitsetBody(JsonValue body)final IntegergetNumberExamples()Sets the number of example elements to generate for sample bodies final UnitsetNumberExamples(Integer numberExamples)Sets the number of example elements to generate for sample bodies final DslPartgetParent()Returns the parent of this part (object or array) final StringgetRootPath()final StringgetRootName()final MatchingRuleCategorygetMatchers()final UnitsetMatchers(MatchingRuleCategory matchers)final GeneratorsgetGenerators()final UnitsetGenerators(Generators generators)DslPartcloseArray()Closes the current array -
Methods inherited from class au.com.dius.pact.consumer.dsl.PactDslJsonArrayContaining
and, array, array, arrayContaining, booleanType, booleanType, booleanValue, close, closeObject, date, date, date, dateExpression, dateExpression, datetime, datetime, datetime, datetime, datetimeExpression, datetimeExpression, decimalType, decimalType, decimalType, eachArrayLike, eachArrayLike, eachArrayLike, eachArrayLike, eachArrayWithMaxLike, eachArrayWithMaxLike, eachArrayWithMaxLike, eachArrayWithMaxLike, eachArrayWithMinLike, eachArrayWithMinLike, eachArrayWithMinLike, eachArrayWithMinLike, eachArrayWithMinMaxLike, eachArrayWithMinMaxLike, eachArrayWithMinMaxLike, eachArrayWithMinMaxLike, eachLike, eachLike, eachLike, eachLike, eachLike, eachLike, eachLike, eachLike, equalsTo, hexValue, hexValue, id, id, includesStr, integerType, integerType, ipAddress, like, matchUrl, matchUrl, matchUrl2, matchUrl2, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, minArrayLike, minArrayLike, minArrayLike, minArrayLike, minArrayLike, minArrayLike, minArrayLike, minArrayLike, minMaxArrayLike, minMaxArrayLike, minMaxArrayLike, minMaxArrayLike, minMaxArrayLike, minMaxArrayLike, nullValue, number, numberType, numberType, numberValue, object, object, or, putArrayPrivate, putObjectPrivate, string, stringMatcher, stringType, stringType, stringValue, template, template, time, time, time, timeExpression, timeExpression, toString, unorderedArray, unorderedArray, unorderedMaxArray, unorderedMaxArray, unorderedMinArray, unorderedMinArray, unorderedMinMaxArray, unorderedMinMaxArray, uuid, uuid, valueFromProviderState, wildcardArrayMatcher -
Methods inherited from class au.com.dius.pact.consumer.dsl.PactDslJsonArray
asArray, asBody -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBody
final JsonValue getBody()
-
getNumberExamples
final Integer getNumberExamples()
Sets the number of example elements to generate for sample bodies
-
setNumberExamples
final Unit setNumberExamples(Integer numberExamples)
Sets the number of example elements to generate for sample bodies
-
getRootPath
final String getRootPath()
-
getRootName
final String getRootName()
-
getMatchers
final MatchingRuleCategory getMatchers()
-
setMatchers
final Unit setMatchers(MatchingRuleCategory matchers)
-
getGenerators
final Generators getGenerators()
-
setGenerators
final Unit setGenerators(Generators generators)
-
closeArray
DslPart closeArray()
Closes the current array
-
-
-
-