public class LambdaDslObject
Modifier and Type | Method and Description |
---|---|
LambdaDslObject |
and()
Combine all the matchers using AND
|
LambdaDslObject |
array() |
LambdaDslObject |
booleanType() |
LambdaDslObject |
booleanType() |
LambdaDslObject |
booleanValue() |
LambdaDslObject |
date()
Attribute named 'date' that must be formatted as an ISO date
|
LambdaDslObject |
date()
Attribute that must be formatted as an ISO date
|
LambdaDslObject |
date()
Attribute that must match the provided date format
|
LambdaDslObject |
date()
Attribute that must match the provided date format
|
LambdaDslObject |
date()
Attribute that must match the provided date format
|
LambdaDslObject |
date()
Attribute that must match the provided date format
|
LambdaDslObject |
dateExpression()
Attribute whose values are generated from the provided expression. Will use an ISO format.
|
LambdaDslObject |
dateExpression()
Attribute whose values are generated from the provided expression
|
LambdaDslObject |
datetimeExpression()
Attribute whose values are generated from the provided expression. Will use an ISO format.
|
LambdaDslObject |
datetimeExpression()
Attribute whose values are generated from the provided expression
|
LambdaDslObject |
decimalType() |
LambdaDslObject |
decimalType() |
LambdaDslObject |
decimalType() |
LambdaDslObject |
eachArrayLike() |
LambdaDslObject |
eachArrayLike() |
LambdaDslObject |
eachArrayWithMaxLike() |
LambdaDslObject |
eachArrayWithMaxLike() |
LambdaDslObject |
eachArrayWithMinLike() |
LambdaDslObject |
eachArrayWithMinLike() |
LambdaDslObject |
eachArrayWithMinMaxLike() |
LambdaDslObject |
eachArrayWithMinMaxLike() |
LambdaDslObject |
eachKeyLike()
Accepts any key, and each key is mapped to a map that must match the following object definition. Note: this needs the Java system property "pact.matching.wildcard" set to value "true" when the pact file is verified.
|
LambdaDslObject |
eachKeyLike()
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.
|
LambdaDslObject |
eachKeyMappedToAnArrayLike()
Accepts any key, and each key is mapped to a list of items that must match the following object definition. Note: this needs the Java system property "pact.matching.wildcard" set to value "true" when the pact file is verified.
|
LambdaDslObject |
eachLike()
Attribute that is an array where each item must match the following example
|
LambdaDslObject |
eachLike()
Attribute that is an array where each item must match the following example
|
LambdaDslObject |
eachLike()
Attribute that is an array where each item is a primitive that must match the provided value
|
LambdaDslObject |
eachLike()
Attribute that is an array where each item is a primitive that must match the provided value
|
LambdaDslObject |
id() |
LambdaDslObject |
id() |
LambdaDslObject |
id() |
LambdaDslObject |
ipV4Address()
Attribute that must be an IP4 address
|
LambdaDslObject |
maxArrayLike()
Attribute that is an array with a maximum size where each item must match the following example
|
LambdaDslObject |
maxArrayLike()
Attribute that is an array with a maximum size where each item must match the following example
|
LambdaDslObject |
maxArrayLike()
Attribute that is an array of values with a maximum size that are not objects where each item must match the following example
|
LambdaDslObject |
minArrayLike()
Attribute that is an array with a minimum size where each item must match the following example
|
LambdaDslObject |
minArrayLike()
Attribute that is an array with a minimum size where each item must match the following example
|
LambdaDslObject |
minArrayLike()
Attribute that is an array of values with a minimum size that are not objects where each item must match the following example
|
LambdaDslObject |
minMaxArrayLike()
Attribute that is an array with a minimum and maximum size where each item must match the following example
|
LambdaDslObject |
minMaxArrayLike()
Attribute that is an array with a minimum and maximum size where each item must match the following example
|
LambdaDslObject |
minMaxArrayLike()
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
|
LambdaDslObject |
nullValue()
Sets the field to a null value
|
LambdaDslObject |
numberType() |
LambdaDslObject |
numberType() |
LambdaDslObject |
numberValue() |
LambdaDslObject |
object() |
LambdaDslObject |
or()
Combine all the matchers using OR
|
LambdaDslObject |
stringMatcher() |
LambdaDslObject |
stringMatcher() |
LambdaDslObject |
stringType() |
LambdaDslObject |
stringType() |
LambdaDslObject |
stringType() |
LambdaDslObject |
stringValue() |
LambdaDslObject |
time()
Attribute named 'time' that must be an ISO formatted time
|
LambdaDslObject |
time()
Attribute that must be an ISO formatted time
|
LambdaDslObject |
time()
Attribute that must match the provided time format
|
LambdaDslObject |
time()
Attribute that must match the provided time format
|
LambdaDslObject |
time()
Attribute that must match the provided time format
|
LambdaDslObject |
time()
Attribute that must match the provided time format
|
LambdaDslObject |
timeExpression()
Attribute whose values are generated from the provided expression. Will use an ISO format.
|
LambdaDslObject |
timeExpression()
Attribute whose values are generated from the provided expression
|
LambdaDslObject |
timestamp()
Attribute named 'timestamp' that must be an ISO formatted timestamp
|
LambdaDslObject |
timestamp()
Attribute that must be an ISO formatted timestamp
|
LambdaDslObject |
timestamp()
Attribute that must match the given timestamp format
|
LambdaDslObject |
timestamp()
Attribute that must match the given timestamp format
|
LambdaDslObject |
timestamp()
Attribute that must match the given timestamp format
|
LambdaDslObject |
timestamp()
Attribute that must match the given timestamp format
|
LambdaDslObject |
timestamp()
Attribute that must match the given timestamp format
|
LambdaDslObject |
uuid() |
LambdaDslObject |
uuid() |
public LambdaDslObject stringValue()
public LambdaDslObject stringType()
public LambdaDslObject stringType()
public LambdaDslObject stringType()
public LambdaDslObject stringMatcher()
public LambdaDslObject stringMatcher()
public LambdaDslObject numberValue()
public LambdaDslObject numberType()
public LambdaDslObject numberType()
public LambdaDslObject decimalType()
public LambdaDslObject decimalType()
public LambdaDslObject decimalType()
public LambdaDslObject booleanValue()
public LambdaDslObject booleanType()
public LambdaDslObject booleanType()
public LambdaDslObject id()
public LambdaDslObject id()
public LambdaDslObject id()
public LambdaDslObject uuid()
public LambdaDslObject uuid()
public LambdaDslObject date()
Attribute named 'date' that must be formatted as an ISO date
public LambdaDslObject date()
Attribute that must be formatted as an ISO date
public LambdaDslObject date()
Attribute that must match the provided date format
public LambdaDslObject date()
Attribute that must match the provided date format
public LambdaDslObject date()
Attribute that must match the provided date format
public LambdaDslObject date()
Attribute that must match the provided date format
public LambdaDslObject time()
Attribute named 'time' that must be an ISO formatted time
public LambdaDslObject time()
Attribute that must be an ISO formatted time
public LambdaDslObject time()
Attribute that must match the provided time format
public LambdaDslObject time()
Attribute that must match the provided time format
public LambdaDslObject time()
Attribute that must match the provided time format
public LambdaDslObject time()
Attribute that must match the provided time format
public LambdaDslObject timestamp()
Attribute named 'timestamp' that must be an ISO formatted timestamp
public LambdaDslObject timestamp()
Attribute that must be an ISO formatted timestamp
public LambdaDslObject timestamp()
Attribute that must match the given timestamp format
public LambdaDslObject timestamp()
Attribute that must match the given timestamp format
public LambdaDslObject timestamp()
Attribute that must match the given timestamp format
public LambdaDslObject timestamp()
Attribute that must match the given timestamp format
public LambdaDslObject timestamp()
Attribute that must match the given timestamp format
public LambdaDslObject ipV4Address()
Attribute that must be an IP4 address
public LambdaDslObject and()
Combine all the matchers using AND
public LambdaDslObject or()
Combine all the matchers using OR
public LambdaDslObject array()
public LambdaDslObject object()
public LambdaDslObject eachLike()
Attribute that is an array where each item must match the following example
public LambdaDslObject eachLike()
Attribute that is an array where each item must match the following example
public LambdaDslObject eachLike()
Attribute that is an array where each item is a primitive that must match the provided value
public LambdaDslObject eachLike()
Attribute that is an array where each item is a primitive that must match the provided value
public LambdaDslObject minArrayLike()
Attribute that is an array with a minimum size where each item must match the following example
public LambdaDslObject minArrayLike()
Attribute that is an array with a minimum size where each item must match the following example
public LambdaDslObject minArrayLike()
Attribute that is an array of values with a minimum size that are not objects where each item must match the following example
public LambdaDslObject maxArrayLike()
Attribute that is an array with a maximum size where each item must match the following example
public LambdaDslObject maxArrayLike()
Attribute that is an array with a maximum size where each item must match the following example
public LambdaDslObject maxArrayLike()
Attribute that is an array of values with a maximum size that are not objects where each item must match the following example
public LambdaDslObject minMaxArrayLike()
Attribute that is an array with a minimum and maximum size where each item must match the following example
public LambdaDslObject minMaxArrayLike()
Attribute that is an array with a minimum and maximum size where each item must match the following example
public LambdaDslObject minMaxArrayLike()
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
public LambdaDslObject nullValue()
Sets the field to a null value
public LambdaDslObject eachArrayLike()
public LambdaDslObject eachArrayLike()
public LambdaDslObject eachArrayWithMaxLike()
public LambdaDslObject eachArrayWithMaxLike()
public LambdaDslObject eachArrayWithMinLike()
public LambdaDslObject eachArrayWithMinLike()
public LambdaDslObject eachArrayWithMinMaxLike()
public LambdaDslObject eachArrayWithMinMaxLike()
public LambdaDslObject eachKeyMappedToAnArrayLike()
Accepts any key, and each key is mapped to a list of items that must match the following object definition. Note: this needs the Java system property "pact.matching.wildcard" set to value "true" when the pact file is verified.
public LambdaDslObject eachKeyLike()
Accepts any key, and each key is mapped to a map that must match the following object definition. Note: this needs the Java system property "pact.matching.wildcard" set to value "true" when the pact file is verified.
public LambdaDslObject eachKeyLike()
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.
public LambdaDslObject dateExpression()
Attribute whose values are generated from the provided expression. Will use an ISO format.
public LambdaDslObject dateExpression()
Attribute whose values are generated from the provided expression
public LambdaDslObject timeExpression()
Attribute whose values are generated from the provided expression. Will use an ISO format.
public LambdaDslObject timeExpression()
Attribute whose values are generated from the provided expression
public LambdaDslObject datetimeExpression()
Attribute whose values are generated from the provided expression. Will use an ISO format.
public LambdaDslObject datetimeExpression()
Attribute whose values are generated from the provided expression