A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

ALL_LIST_ITEMS - Field in PactBodyBuilder
and(def, Object) - Method in Matchers
Matches if all of the provided matches match
AndMatcher - Class in au.com.dius.pact.consumer.groovy
Matches if all provided matches match

B

BaseBuilder - Class in au.com.dius.pact.consumer.groovy
Base class for builders
bool(Boolean) - Method in Matchers
Match any boolean
build(Closure) - Method in BaseBuilder
build(LikeMatcher) - Method in PactBodyBuilder
buildInteractions() - Method in PactBuilder

C

call(Closure) - Method in BaseBuilder
COMPACT_MIME_TYPES - Field in BaseBuilder

D

date(String, def) - Method in Matchers
Match a date
DateMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for dates
decimal(Number) - Method in Matchers
Match a decimal value

E

eachArrayLike(Integer, def) - Method in Matchers
Array of arrays where each element like the following object
eachLike(Integer, def) - Method in Matchers
Array where each element like the following object
EachLikeMatcher - Class in au.com.dius.pact.consumer.groovy
Each like matcher for arrays
END_LIST - Field in PactBodyBuilder
EqualsMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher to match using equality
equalTo(def) - Method in Matchers
Match Equality
expectsToReceive(String) - Method in PactMessageBuilder
Description of the message to be received

F

fragment() - Method in PactBuilder

G

getBody() - Method in PactBodyBuilder
getGenerator() - Method in DateMatcher
getGenerator() - Method in HexadecimalMatcher
getGenerator() - Method in RegexpMatcher
getGenerator() - Method in TimeMatcher
getGenerator() - Method in TimestampMatcher
getGenerator() - Method in UuidMatcher
getMatcher() - Method in DateMatcher
getMatcher() - Method in EachLikeMatcher
getMatcher() - Method in EqualsMatcher
getMatcher() - Method in HexadecimalMatcher
getMatcher() - Method in IncludeMatcher
getMatcher() - Method in MaxLikeMatcher
getMatcher() - Method in MinLikeMatcher
getMatcher() - Method in MinMaxLikeMatcher
getMatcher() - Method in NullMatcher
getMatcher() - Method in RegexpMatcher
getMatcher() - Method in TimeMatcher
getMatcher() - Method in TimestampMatcher
getMatcher() - Method in TypeMatcher
getMatcher() - Method in UrlMatcher
getMatcher() - Method in UuidMatcher
getMatcher() - Method in ValuesMatcher
getPattern() - Method in DateMatcher
getPattern() - Method in TimeMatcher
getPattern() - Method in TimestampMatcher
getValue() - Method in DateMatcher
getValue() - Method in HexadecimalMatcher
getValue() - Method in RegexpMatcher
getValue() - Method in TimeMatcher
getValue() - Method in TimestampMatcher
getValue() - Method in UuidMatcher
given(String, Map) - Method in PactBuilder
Defines the provider state the provider needs to be in for the interaction
given(String) - Method in PactMessageBuilder
Provider state required for the message to be produced
guid(String) - Method in Matchers
Match a globally unique ID (GUID)

H

hasPactWith(String) - Method in PactBuilder
Defines the provider the consumer has a pact with
hasPactWith(String) - Method in PactMessageBuilder
Provider that the consumer has a pact with
HEADER - Field in PactBuilder
HexadecimalMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for hexadecimal values
hexValue(String) - Method in Matchers
Match a hexadecimal value

I

identifier(def) - Method in Matchers
Match a numeric identifier (integer)
IncludeMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for string inclusion
includesStr(def) - Method in Matchers
Matches if the string is included in the value
integer(Long) - Method in Matchers
Match a integer value
InvalidMatcherException - Class in au.com.dius.pact.consumer.groovy
Exception for handling invalid matchers
InvalidMatcherException(String) - Constructor in InvalidMatcherException
ipAddress(String) - Method in Matchers
Match an IP Address

J

K

keyLike(String, def) - Method in PactBodyBuilder
Matches the values of the map ignoring the keys.

L

LikeMatcher - Class in au.com.dius.pact.consumer.groovy
Base class for like matchers

M

Matcher - Class in au.com.dius.pact.consumer.groovy
Base class for matchers
Matchers - Class in au.com.dius.pact.consumer.groovy
Base class for DSL matcher methods
maxLike(Integer, Integer, def) - Method in Matchers
Array with maximum size and each element like the following object
MaxLikeMatcher - Class in au.com.dius.pact.consumer.groovy
Like matcher with a maximum size
MessagePactFailedException - Class in au.com.dius.pact.consumer.groovy.messaging
Exception thrown when a message pact consumer test has failed
MessagePactFailedException(List) - Constructor in MessagePactFailedException
methodMissing(String, def) - Method in PactBodyBuilder
minLike(Integer, Integer, def) - Method in Matchers
Array with minimum size and each element like the following object
MinLikeMatcher - Class in au.com.dius.pact.consumer.groovy
Like matcher with a minimum size
minMaxLike(Integer, Integer, Integer, def) - Method in Matchers
Array with minimum and maximum size and each element like the following object
MinMaxLikeMatcher - Class in au.com.dius.pact.consumer.groovy
Like Matcher with a minimum and maximum size

N

NullMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher to match null values
nullValue() - Method in Matchers
Matches a null value
numeric(Number) - Method in Matchers
Match a numeric value

O

or(def, Object) - Method in Matchers
Matches if any of the provided matches match
OrMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher that matches if any provided matcher matches

P

PactBodyBuilder - Class in au.com.dius.pact.consumer.groovy
DSL Builder for constructing JSON bodies
PactBuilder - Class in au.com.dius.pact.consumer.groovy
Builder DSL for Pact tests
PactFailedException - Class in au.com.dius.pact.consumer.groovy
Exception to indicate pact failures
PactFailedException(PactVerificationResult) - Constructor in PactFailedException
PactMessageBuilder - Class in au.com.dius.pact.consumer.groovy.messaging
Pact builder for consumer tests for messaging
PATH_SEP - Field in PactBodyBuilder
port(int) - Method in PactBuilder
Defines the port the provider will listen on
propertyMissing(String, def) - Method in PactBodyBuilder

Q

R

real(Number) - Method in Matchers
@deprecated Use decimal instead
regexp(String, String) - Method in Matchers
Match a regular expression
RegexpMatcher - Class in au.com.dius.pact.consumer.groovy
Regular Expression Matcher
run(Map, Closure) - Method in PactBuilder
Executes the providers closure in the context of the interactions defined on this builder.
run(Closure) - Method in PactMessageBuilder
Execute the given closure for each defined message
runTest(Map, Closure) - Method in PactBuilder
Executes the providers closure in the context of the interactions defined on this builder.
runTestAndVerify(Map, Closure) - Method in PactBuilder
Runs the test (via the runTest method), and throws an exception if it was not successful.

S

serviceConsumer(String) - Method in PactBuilder
Defines the service consumer
serviceConsumer(String) - Method in PactMessageBuilder
Service consumer
STAR - Field in PactBodyBuilder
START_LIST - Field in PactBodyBuilder
string(String) - Method in Matchers
Match any string value

T

time(String, def) - Method in Matchers
Match a time
TimeMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for time values
timestamp(String, def) - Method in Matchers
Match a timestamp
TimestampMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for timestamps
TWO - Field in PactBodyBuilder
TypeMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for validating same types

U

uponReceiving(String) - Method in PactBuilder
Defines the start of an interaction
url(String, Object) - Method in Matchers
Matches a URL composed of a base path and a list of path fragments
UrlMatcher - Class in au.com.dius.pact.consumer.groovy
Match a URL by specifying the base and a series of paths.
UrlMatcher(String, List) - Constructor in UrlMatcher
uuid(String) - Method in Matchers
Match a universally unique identifier (UUID)
UuidMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for universally unique IDs

V

ValuesMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for validating the values in a map

W

willRespondWith(Map) - Method in PactBuilder
Defines the response attributes (body, headers, etc.) that are returned for the request
withAttributes(Map) - Method in PactBuilder
Defines the request attributes (body, headers, etc.)
withBody(Map, LikeMatcher) - Method in PactBuilder
Allows the body to be defined using a Groovy builder pattern with an array as the root
withContent(Map, Closure) - Method in PactMessageBuilder
Content of the message
withFileUpload(String, String, String, byte[]) - Method in PactBuilder
Sets up a file upload request.
withMetaData(Map) - Method in PactMessageBuilder
Metadata attached to the message

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _