Skip navigation links
A B D E G H I L M N O S T U V 

A

and(Object, MatchingRule...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Combine all the matchers using AND
and(String, Object, MatchingRule...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Combine all the matchers using AND
array(Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is a JSON array
array(String, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array

B

booleanType(Boolean) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be a boolean
booleanType(String, Boolean) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be a boolean
booleanType(String...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attributes that must be a boolean
booleanValue(Boolean) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be the specified value
booleanValue(String, Boolean) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be the specified boolean
build() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
 
build() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonBody
 

D

date() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be formatted as an ISO date
date(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the provided date format
date(String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the provided date format
date() - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute named 'date' that must be formatted as an ISO date
date(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be formatted as an ISO date
date(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided date format
date(String, String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided date format
date(String, String, Date, TimeZone) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided date format
date(String, String, ZonedDateTime) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided date format
dateExpression(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Date value generated from the provided expression.
dateExpression(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Date value generated from the provided expression
dateExpression(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute whose values are generated from the provided expression.
dateExpression(String, String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute whose values are generated from the provided expression
datetime(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be an ISO formatted datetime
datetime(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the given datetime format
datetime(String, String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the given datetime format
datetime(String, String, Instant) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the given datetime format
datetime(String, String, Date, TimeZone) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the given datetime format
datetime(String, String, ZonedDateTime) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the given timestamp format
datetimeExpression(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Datetime generated from the provided expression.
datetimeExpression(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Datetime generated from the provided expression
datetimeExpression(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute whose values are generated from the provided expression.
datetimeExpression(String, String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute whose values are generated from the provided expression
decimalType() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be a decimal value
decimalType(BigDecimal) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be a decimalType value
decimalType(Double) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Attribute that must be a decimalType value
decimalType(String, BigDecimal) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be a decimalType value
decimalType(String, Double) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be a decimalType value
decimalType(String...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attributes that must be decimal values

E

eachArrayLike(Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object
eachArrayLike(int, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object
eachArrayLike(String, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object
eachArrayLike(String, int, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object
eachArrayWithMaxLike(Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object.
eachArrayWithMaxLike(int, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object
eachArrayWithMaxLike(String, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object.
eachArrayWithMaxLike(String, int, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object
eachArrayWithMinLike(Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object.
eachArrayWithMinLike(int, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object
eachArrayWithMinLike(String, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object.
eachArrayWithMinLike(String, int, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object
eachArrayWithMinMaxLike(Integer, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object.
eachArrayWithMinMaxLike(Integer, Integer, int, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Array element where each element of the array is an array and must match the following object
eachArrayWithMinMaxLike(String, Integer, Integer, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object.
eachArrayWithMinMaxLike(String, Integer, Integer, int, Consumer<LambdaDslJsonArray>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Array field where each element is an array and must match the following object
eachKeyLike(String, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Accepts any key, and each key is mapped to a map that must match the following object definition.
eachKeyLike(String, PactDslJsonRootValue) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Accepts any key, and each key is mapped to a map that must match the provided object definition Note: this needs the Java system property "pact.matching.wildcard" set to value "true" when the pact file is verified.
eachKeyMappedToAnArrayLike(String, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Accepts any key, and each key is mapped to a list of items that must match the following object definition.
eachLike(Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array where each item must match the following example
eachLike(PactDslJsonRootValue) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array where each item must match the following example
eachLike(PactDslJsonRootValue, int) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array where each item must match the following example
eachLike(int, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array where each item must match the following example
eachLike(String, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array where each item must match the following example
eachLike(String, int, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array where each item must match the following example
eachLike(String, PactDslJsonRootValue) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array where each item is a primitive that must match the provided value
eachLike(String, PactDslJsonRootValue, int) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array where each item is a primitive that must match the provided value

G

getPactDslJsonArray() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Get the raw PactDslJsonArray which is abstracted with PactDslJsonArray
getPactDslObject() - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Get the raw PactDslJsonBody which is abstracted with LambdaDslObject

H

hexValue() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be encoded as a hexadecimal value
hexValue(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be encoded as a hexadecimal value

I

id() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be a numeric identifier
id(Long) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be a numeric identifier
id() - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute named 'id' that must be a numeric identifier
id(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be a numeric identifier
id(String, Long) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be a numeric identifier
integerType() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be an integer
integerType(Long) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be an integer
io.pactfoundation.consumer.dsl - package io.pactfoundation.consumer.dsl
 
ipV4Address() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be an IP4 address
ipV4Address(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be an IP4 address

L

LambdaDsl - Class in io.pactfoundation.consumer.dsl
An alternative, lambda based, dsl for pact that runs on top of the default pact dsl objects.
LambdaDslJsonArray - Class in io.pactfoundation.consumer.dsl
 
LambdaDslJsonBody - Class in io.pactfoundation.consumer.dsl
 
LambdaDslObject - Class in io.pactfoundation.consumer.dsl
 

M

maxArrayLike(Integer, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array with a maximum size where each item must match the following example
maxArrayLike(Integer, int, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array with a maximum size where each item must match the following example
maxArrayLike(String, Integer, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array with a maximum size where each item must match the following example
maxArrayLike(String, Integer, int, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array with a maximum size where each item must match the following example
maxArrayLike(String, Integer, PactDslJsonRootValue, int) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array of values with a maximum size that are not objects where each item must match the following example
minArrayLike(Integer, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array with a minimum size where each item must match the following example
minArrayLike(Integer, int, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array with a minimum size where each item must match the following example
minArrayLike(String, Integer, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array with a minimum size where each item must match the following example
minArrayLike(String, Integer, int, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array with a minimum size where each item must match the following example
minArrayLike(String, Integer, PactDslJsonRootValue, int) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array of values with a minimum size that are not objects where each item must match the following example
minMaxArrayLike(Integer, Integer, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array with a minimum and maximum size where each item must match the following example
minMaxArrayLike(Integer, Integer, int, Consumer<LambdaDslJsonBody>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is an array with a minimum and maximum size where each item must match the following example
minMaxArrayLike(String, Integer, Integer, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array with a minimum and maximum size where each item must match the following example
minMaxArrayLike(String, Integer, Integer, int, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array with a minimum and maximum size where each item must match the following example
minMaxArrayLike(String, Integer, Integer, PactDslJsonRootValue, int) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is an array of values with a minimum and maximum size that are not objects where each item must match the following example

N

newJsonArray(Consumer<LambdaDslJsonArray>) - Static method in class io.pactfoundation.consumer.dsl.LambdaDsl
DSL function to simplify creating a DslPart generated from a LambdaDslJsonArray.
newJsonArrayMaxLike(Integer, Consumer<LambdaDslJsonArray>) - Static method in class io.pactfoundation.consumer.dsl.LambdaDsl
DSL function to simplify creating a DslPart generated from a LambdaDslJsonArray where a maximum base array size is specified
newJsonArrayMinLike(Integer, Consumer<LambdaDslJsonArray>) - Static method in class io.pactfoundation.consumer.dsl.LambdaDsl
DSL function to simplify creating a DslPart generated from a LambdaDslJsonArray where a minimum base array size is specified
newJsonArrayMinMaxLike(Integer, Integer, Consumer<LambdaDslJsonArray>) - Static method in class io.pactfoundation.consumer.dsl.LambdaDsl
DSL function to simplify creating a DslPart generated from a LambdaDslJsonArray where a minimum and maximum base array size is specified
newJsonBody(Consumer<LambdaDslJsonBody>) - Static method in class io.pactfoundation.consumer.dsl.LambdaDsl
DSL function to simplify creating a DslPart generated from a LambdaDslJsonBody.
nullValue() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Adds a null value to the list
nullValue(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Sets the field to a null value
numberType(Number) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that can be any number
numberType(String, Number) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that can be any number
numberType(String...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attributes that can be any number
numberValue(Number) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be the specified number
numberValue(String, Number) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be the specified number

O

object(Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that is a JSON object
object(String, Consumer<LambdaDslObject>) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that is a JSON object
or(Object, MatchingRule...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Combine all the matchers using OR
or(String, Object, MatchingRule...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Combine all the matchers using OR

S

stringMatcher(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the regular expression
stringMatcher(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the regular expression
stringMatcher(String, String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the regular expression
stringType(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that can be any string
stringType(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that can be any string
stringType(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that can be any string
stringType(String...) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attributes that can be any string
stringValue(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be the specified value
stringValue(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be the specified value

T

time() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be an ISO formatted time
time(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the given time format
time(String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the given time format
time() - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute named 'time' that must be an ISO formatted time
time(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be an ISO formatted time
time(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided time format
time(String, String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided time format
time(String, String, Date, TimeZone) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided time format
time(String, String, ZonedDateTime) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must match the provided time format
timeExpression(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Time value generated from the provided expression.
timeExpression(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Time value generated from the provided expression
timeExpression(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute whose values are generated from the provided expression.
timeExpression(String, String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute whose values are generated from the provided expression
timestamp() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be an ISO formatted timestamp
timestamp(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the given timestamp format
timestamp(String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the given timestamp format
timestamp(String, Instant) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must match the given timestamp format
timestamp() - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute named 'timestamp' that must be an ISO formatted timestamp
timestamp(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Deprecated.
use datetime instead
timestamp(String, String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Deprecated.
use datetime instead
timestamp(String, String, Date) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Deprecated.
use datetime instead
timestamp(String, String, Instant) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Deprecated.
use datetime instead
timestamp(String, String, Date, TimeZone) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Deprecated.
use datetime instead
timestamp(String, String, ZonedDateTime) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Deprecated.
use datetime instead

U

uuid() - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be encoded as an UUID
uuid(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslJsonArray
Element that must be encoded as an UUID
uuid(String) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be encoded as an UUID
uuid(String, UUID) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that must be encoded as an UUID

V

valueFromProviderState(String, String, Object) - Method in class io.pactfoundation.consumer.dsl.LambdaDslObject
Attribute that will have its value injected from the provider state
A B D E G H I L M N O S T U V 
Skip navigation links