Skip navigation links
A B C D E G H I J M N P R S T U V W 

A

arrayOfPrimitives() - Static method in class au.com.dius.pact.consumer.dsl.Dsl
Creates a builder to define the matchers on an array of JSON primitives
ArrayOfPrimitivesBuilder - Class in au.com.dius.pact.consumer.dsl
 
ArrayOfPrimitivesBuilder() - Constructor for class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
au.com.dius.pact.consumer - package au.com.dius.pact.consumer
 
au.com.dius.pact.consumer.dsl - package au.com.dius.pact.consumer.dsl
 
au.com.dius.pact.consumer.junit - package au.com.dius.pact.consumer.junit
 

B

BaseMockServer - Class in au.com.dius.pact.consumer
 
BaseMockServer(pact, config, server, stopped) - Constructor for class au.com.dius.pact.consumer.BaseMockServer
 
BaseMockServer.Companion - Class in au.com.dius.pact.consumer
 
bool(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match any boolean
bool() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match any boolean
booleanType() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be a boolean
build() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
Consumes this builder and returns the DslPart that it represents

C

calculateCharset(headers) - Static method in class au.com.dius.pact.consumer.MockHttpServerKt
 
Companion - Static variable in class au.com.dius.pact.consumer.BaseMockServer
 
Companion - Static variable in class au.com.dius.pact.consumer.MessagePactBuilder
 
component1() - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
component1() - Method in class au.com.dius.pact.consumer.dsl.UuidMatcher
 
component1() - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
component1() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
component1() - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
component1() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
component1() - Method in class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
component1() - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
component2() - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
component2() - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
component2() - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
component2() - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
component2() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
component2() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
component3() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
conformsToMessagePactSignature(m) - Static method in class au.com.dius.pact.consumer.junit.JUnitTestSupport
validates method signature for a Message Pact test
conformsToSignature(m) - Static method in class au.com.dius.pact.consumer.junit.JUnitTestSupport
validates method signature as described at interface Pact
consumer(consumer) - Method in class au.com.dius.pact.consumer.MessagePactBuilder.Companion
Name the consumer of the pact
consumer(consumer) - Static method in class au.com.dius.pact.consumer.MessagePactBuilder
Name the consumer of the pact
consumer() - Method in interface au.com.dius.pact.consumer.Pact
name of the consumer
ConsumerPactRunnerKt - Class in au.com.dius.pact.consumer
 
copy(pattern, value) - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
copy(value) - Method in class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
copy(value) - Method in class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
copy(value) - Method in class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
copy(regex, value) - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
copy(pattern, value) - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
copy(pattern, value) - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
copy(value, matcher, generator) - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
copy(value) - Method in class au.com.dius.pact.consumer.dsl.UuidMatcher
 
copy(pactFolder) - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
copy(error, mockServerState) - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
copy(expectedRequests) - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
copy(mismatches) - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
copy(mismatches) - Method in class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
copy(request) - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 

D

date(pattern, value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a date
date(pattern) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a date
date() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a date
date() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be formatted as an ISO date
date(format) - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must match the provided date format
DateMatcher - Class in au.com.dius.pact.consumer.dsl
 
DateMatcher(pattern, value) - Constructor for class au.com.dius.pact.consumer.dsl.DateMatcher
 
decimal(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a decimal value
decimal() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a decimal value
decimalType() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be a decimal value
Dsl - Class in au.com.dius.pact.consumer.dsl
 

E

equals(p) - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.dsl.UuidMatcher
 
equals(p) - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
equals(p) - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
equals(p) - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
equals(p) - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
equals(p) - Method in class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
equals(p) - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
EqualsMatcher - Class in au.com.dius.pact.consumer.dsl
 
EqualsMatcher(value) - Constructor for class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
equalTo(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match Equality
Error(error, mockServerState) - Constructor for class au.com.dius.pact.consumer.PactVerificationResult.Error
 
ExpectedButNotReceived(expectedRequests) - Constructor for class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
expectsToReceive(description) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Adds a message expectation in the pact.

G

getConfig() - Method in class au.com.dius.pact.consumer.BaseMockServer
 
getDescription() - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
getDescription() - Method in class au.com.dius.pact.consumer.PactVerificationResult
 
getDescription() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
getDescription() - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
getError() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
getExamples() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
getExpectedRequests() - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
getGenerator() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
getGenerator() - Method in class au.com.dius.pact.consumer.dsl.Matcher
 
getGenerator() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
getHEXADECIMAL() - Method in class au.com.dius.pact.consumer.dsl.Matchers
 
getIP_ADDRESS() - Method in class au.com.dius.pact.consumer.dsl.Matchers
 
getMatcher() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
getMatcher() - Method in class au.com.dius.pact.consumer.dsl.Matcher
 
getMatcher() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
getMaxLength() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
getMinLength() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
getMismatches() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
getMismatches() - Method in class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
getMockServerState() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
getPact() - Method in class au.com.dius.pact.consumer.BaseMockServer
 
getPactDirectory() - Method in class au.com.dius.pact.consumer.PactConsumerConfig
 
getPactFolder() - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
getPattern() - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
getPattern() - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
getPattern() - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
getPort() - Method in class au.com.dius.pact.consumer.BaseMockServer
Returns the port of the mock server. This will be the port the server is bound to.
getPort() - Method in interface au.com.dius.pact.consumer.MockServer
Returns the port of the mock server. This will be the port the server is bound to.
getRegex() - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
getRequest() - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
getUrl() - Method in class au.com.dius.pact.consumer.BaseMockServer
Returns the URL for this mock server. The port will be the one bound by the server.
getUrl() - Method in interface au.com.dius.pact.consumer.MockServer
Returns the URL for this mock server. The port will be the one bound by the server.
getUUID_REGEX() - Method in class au.com.dius.pact.consumer.dsl.Matchers
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.Matcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
getValue() - Method in class au.com.dius.pact.consumer.dsl.UuidMatcher
 
given(providerState) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Sets the provider state.

H

handle(exchange) - Method in class au.com.dius.pact.consumer.BaseMockServer
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.UuidMatcher
 
hashCode() - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
hashCode() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
hashCode() - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
hashCode() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
hashCode() - Method in class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
hashCode() - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
hasPactWith(provider) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Name the provider that the consumer has a pact with.
Headers - Class in au.com.dius.pact.consumer
 
HexadecimalMatcher - Class in au.com.dius.pact.consumer.dsl
 
HexadecimalMatcher(value) - Constructor for class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
hexValue(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a hexadecimal value
hexValue() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a hexadecimal value
hexValue() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be encoded as a hexadecimal value

I

id() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be a numeric identifier
identifier(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a numeric identifier (integer)
identifier() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a numeric identifier (integer)
IncludeMatcher - Class in au.com.dius.pact.consumer.dsl
 
IncludeMatcher(value) - Constructor for class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
includesStr(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Matches if the string is included in the value
includesStr(value) - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must include the provided string value
INSTANCE - Static variable in class au.com.dius.pact.consumer.dsl.Dsl
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.dsl.Matchers
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.dsl.NullMatcher
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.dsl.PM
Pact Matcher functions for 'and' and 'or'
INSTANCE - Static variable in class au.com.dius.pact.consumer.Headers
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.junit.JUnitTestSupport
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.PactConsumerConfig
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.PactVerificationResult.Ok
 
INSTANCE - Static variable in class au.com.dius.pact.consumer.ScalaCollectionUtils
 
integer(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match an integer value
integer() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match an integer value
integerType() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be an integer
InvalidMatcherException - Exception in au.com.dius.pact.consumer.dsl
Exception for handling invalid matchers
InvalidMatcherException(message) - Constructor for exception au.com.dius.pact.consumer.dsl.InvalidMatcherException
Exception for handling invalid matchers
ipAddress(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match an IP Address
ipAddress() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match an IP Address
ipAddress() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be an IP4 address

J

JUnitTestSupport - Class in au.com.dius.pact.consumer.junit
 

M

Matcher - Class in au.com.dius.pact.consumer.dsl
 
Matchers - Class in au.com.dius.pact.consumer.dsl
 
MessagePactBuilder - Class in au.com.dius.pact.consumer
PACT DSL builder for v3 specification
MessagePactBuilder(consumer, provider, providerStates, messages) - Constructor for class au.com.dius.pact.consumer.MessagePactBuilder
PACT DSL builder for v3 specification
MessagePactBuilder.Companion - Class in au.com.dius.pact.consumer
 
Mismatches(mismatches) - Constructor for class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
MockHttpServer - Class in au.com.dius.pact.consumer
 
MockHttpServer(pact, config) - Constructor for class au.com.dius.pact.consumer.MockHttpServer
 
MockHttpServerKt - Class in au.com.dius.pact.consumer
 
MockHttpsServer - Class in au.com.dius.pact.consumer
 
MockHttpsServer(pact, config) - Constructor for class au.com.dius.pact.consumer.MockHttpsServer
 
mockServer(pact, config) - Static method in class au.com.dius.pact.consumer.MockHttpServerKt
Returns a mock server for the pact and config
MockServer - Interface in au.com.dius.pact.consumer
 
MULTIPART_HEADER_REGEX - Static variable in class au.com.dius.pact.consumer.Headers
 

N

NullMatcher - Class in au.com.dius.pact.consumer.dsl
 
nullValue() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Matches a null value
nullValue() - Static method in class au.com.dius.pact.consumer.dsl.PM
Matches a null value
numberType() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that can be any number
numeric(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a numeric value
numeric() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a numeric value

P

Pact - Interface in au.com.dius.pact.consumer
describes the interactions between a provider and a consumer used in JUnit tests. The annotated method has to be of following signature:
PactConsumerConfig - Class in au.com.dius.pact.consumer
 
PactFolder - Interface in au.com.dius.pact.consumer
Used to point Pact runner to the directory where the pact files are stored
PactMismatchesException - Exception in au.com.dius.pact.consumer
 
PactMismatchesException(mismatches) - Constructor for exception au.com.dius.pact.consumer.PactMismatchesException
 
PactTestExecutionContext - Class in au.com.dius.pact.consumer
 
PactTestExecutionContext(pactFolder) - Constructor for class au.com.dius.pact.consumer.PactTestExecutionContext
 
PactTestExecutionContext() - Constructor for class au.com.dius.pact.consumer.PactTestExecutionContext
 
PactTestRun - Interface in au.com.dius.pact.consumer
 
PactVerificationResult - Class in au.com.dius.pact.consumer
 
PactVerificationResult.Error - Class in au.com.dius.pact.consumer
 
PactVerificationResult.ExpectedButNotReceived - Class in au.com.dius.pact.consumer
 
PactVerificationResult.Mismatches - Class in au.com.dius.pact.consumer
 
PactVerificationResult.Ok - Class in au.com.dius.pact.consumer
 
PactVerificationResult.PartialMismatch - Class in au.com.dius.pact.consumer
 
PactVerificationResult.UnexpectedRequest - Class in au.com.dius.pact.consumer
 
PartialMismatch(mismatches) - Constructor for class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
PM - Class in au.com.dius.pact.consumer.dsl
Pact Matcher functions for 'and' and 'or'
provider() - Method in interface au.com.dius.pact.consumer.Pact
name of the provider

R

regexp(re, value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a regular expression
regexp(re) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a regular expression
regexp(regexp, value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a regular expression
regexp(regexp) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a regular expression
RegexpMatcher - Class in au.com.dius.pact.consumer.dsl
 
RegexpMatcher(regex, value) - Constructor for class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
run(mockServer, context) - Method in interface au.com.dius.pact.consumer.PactTestRun
 
runAndWritePact(pact, pactVersion, testFn) - Method in class au.com.dius.pact.consumer.BaseMockServer
This will start the mock server and execute the test function. Returns the result of running the test.
runAndWritePact(pact, pactVersion, testFn) - Method in interface au.com.dius.pact.consumer.MockServer
This will start the mock server and execute the test function. Returns the result of running the test.
runConsumerTest(pact, config, test) - Static method in class au.com.dius.pact.consumer.ConsumerPactRunnerKt
 

S

ScalaCollectionUtils - Class in au.com.dius.pact.consumer
 
setExamples(p) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
setGenerator(p) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
setMatcher(p) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
setMaxLength(p) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
setMinLength(p) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
setPactFolder(p) - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
setValue(p) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
 
start() - Method in class au.com.dius.pact.consumer.BaseMockServer
 
state() - Method in interface au.com.dius.pact.consumer.Pact
name of the state,
stop() - Method in class au.com.dius.pact.consumer.BaseMockServer
 
string(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match any string value
string() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match any string value
stringMatcher(regex) - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must match the regular expression
stringType() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that can be any string

T

thatMatchRegex(regex) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
All the values in the array must match the provided regex
thatMatchRegex(regex, example) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
All the values in the array must match the provided regex
time(pattern, value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a time
time(pattern) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a time
time() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a time
time() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be an ISO formatted time
time(format) - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must match the given time format
TimeMatcher - Class in au.com.dius.pact.consumer.dsl
 
TimeMatcher(pattern, value) - Constructor for class au.com.dius.pact.consumer.dsl.TimeMatcher
 
timestamp(pattern, value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a timestamp
timestamp(pattern) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a timestamp
timestamp() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a timestamp
timestamp() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be an ISO formatted timestamp
timestamp(format) - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must match the given timestamp format
TimestampMatcher - Class in au.com.dius.pact.consumer.dsl
 
TimestampMatcher(pattern, value) - Constructor for class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
toList(mismatches) - Method in class au.com.dius.pact.consumer.ScalaCollectionUtils
 
toPact() - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Convert this builder into a Pact
toString() - Method in class au.com.dius.pact.consumer.dsl.DateMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.EqualsMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.HexadecimalMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.IncludeMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.RegexpMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.TimeMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.TimestampMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.TypeMatcher
 
toString() - Method in class au.com.dius.pact.consumer.dsl.UuidMatcher
 
toString() - Method in class au.com.dius.pact.consumer.PactTestExecutionContext
 
toString() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Error
 
toString() - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
toString() - Method in class au.com.dius.pact.consumer.PactVerificationResult.Mismatches
 
toString() - Method in class au.com.dius.pact.consumer.PactVerificationResult.PartialMismatch
 
toString() - Method in class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
TypeMatcher - Class in au.com.dius.pact.consumer.dsl
 
TypeMatcher(value, matcher, generator) - Constructor for class au.com.dius.pact.consumer.dsl.TypeMatcher
 

U

UnexpectedRequest(request) - Constructor for class au.com.dius.pact.consumer.PactVerificationResult.UnexpectedRequest
 
uuid(value) - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a universally unique identifier (UUID)
uuid() - Static method in class au.com.dius.pact.consumer.dsl.Matchers
Match a universally unique identifier (UUID)
uuid() - Static method in class au.com.dius.pact.consumer.dsl.PM
Attribute that must be encoded as an UUID
UuidMatcher - Class in au.com.dius.pact.consumer.dsl
 
UuidMatcher(value) - Constructor for class au.com.dius.pact.consumer.dsl.UuidMatcher
 

V

validateMockServerResult(result) - Static method in class au.com.dius.pact.consumer.junit.JUnitTestSupport
 
validateMockServerState() - Method in class au.com.dius.pact.consumer.BaseMockServer
Returns the results of validating the mock server state
validateMockServerState() - Method in interface au.com.dius.pact.consumer.MockServer
Returns the results of validating the mock server state
value() - Method in interface au.com.dius.pact.consumer.PactFolder
 

W

waitForServer() - Method in class au.com.dius.pact.consumer.BaseMockServer
 
withContent(body) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Adds the JSON body as the message content
withMaxLength(max) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
Array must have a maximum length
withMetadata(metadata) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Adds the expected metadata to the message
withMinLength(min) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
Array must have a minimum length
withNumberOfExamples(examples) - Method in class au.com.dius.pact.consumer.dsl.ArrayOfPrimitivesBuilder
Sets the number of examples to generate in the array
A B C D E G H I J M N P R S T U V W 
Skip navigation links