-
public final class PactDslJsonArrayContaining extends PactDslJsonArray
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPactDslJsonArrayContaining.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringrootprivate JsonValuebodyprivate BooleanwildCardprivate IntegernumberExamplesprivate final DslPartparentprivate final StringrootPathprivate final StringrootNameprivate MatchingRuleCategorymatchersprivate Generatorsgenerators
-
Constructor Summary
Constructors Constructor Description PactDslJsonArrayContaining(String root, String rootName, DslPart parent)
-
Method Summary
Modifier and Type Method Description DslPartcloseArray()Closes the current array final StringgetRoot()final JsonValuegetBody()final BooleangetWildCard()final IntegergetNumberExamples()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 GeneratorsgetGenerators()final UnitsetBody(JsonValue body)final UnitsetWildCard(Boolean wildCard)final UnitsetNumberExamples(Integer numberExamples)Sets the number of example elements to generate for sample bodies final UnitsetMatchers(MatchingRuleCategory matchers)final UnitsetGenerators(Generators generators)-
Methods inherited from class au.com.dius.pact.consumer.dsl.PactDslJsonArrayContaining
and, appendArrayIndex, array, array, arrayContaining, booleanType, booleanType, booleanValue, close, closeObject, date, date, date, dateExpression, datetime, datetime, datetime, datetime, 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, equalsTo, hexValue, hexValue, id, id, includesStr, integerType, integerType, ipAddress, like, matchUrl, matchUrl, matchUrl2, matchUrl2, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, maxArrayLike, 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, timestamp, timestamp, timestamp, timestamp, 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 au.com.dius.pact.consumer.dsl.DslPart
equals, hashCode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
closeArray
DslPart closeArray()
Closes the current array
-
getBody
final JsonValue getBody()
-
getWildCard
final Boolean getWildCard()
-
getNumberExamples
final Integer getNumberExamples()
Sets the number of example elements to generate for sample bodies
-
getRootPath
final String getRootPath()
-
getRootName
final String getRootName()
-
getMatchers
final MatchingRuleCategory getMatchers()
-
getGenerators
final Generators getGenerators()
-
setWildCard
final Unit setWildCard(Boolean wildCard)
-
setNumberExamples
final Unit setNumberExamples(Integer numberExamples)
Sets the number of example elements to generate for sample bodies
-
setMatchers
final Unit setMatchers(MatchingRuleCategory matchers)
-
setGenerators
final Unit setGenerators(Generators generators)
-
-
-
-