- generateErrorStringFromMismatches(mismatches) - Static method in class au.com.dius.pact.provider.junit.JUnitProviderTestSupport
-
- generatesAMessageWhich() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- generatesAMessageWhich() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- getActual() - Method in class au.com.dius.pact.provider.ResponseComparison
-
- getActualBody() - Method in class au.com.dius.pact.provider.ResponseComparison
-
- getActualHeaders() - Method in class au.com.dius.pact.provider.ResponseComparison
-
- getActualStatus() - Method in class au.com.dius.pact.provider.ResponseComparison
-
- getCause() - Method in exception au.com.dius.pact.provider.PactVerifierException
-
- getCheckBuildSpecificTask() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to determine if something is a build specific task
- getCheckBuildSpecificTask() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to determine if something is a build specific task
- getDisplayFullDiff() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- getExecuteBuildSpecificTask() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Consumer SAM to execute the build specific task
- getExecuteBuildSpecificTask() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Consumer SAM to execute the build specific task
- getExpected() - Method in class au.com.dius.pact.provider.ResponseComparison
-
- getExt() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
The extension for the reporter
- getExt() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
The extension for the reporter
- getHost() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getHttpClient() - Method in class au.com.dius.pact.provider.ProviderClient
-
- getMessage() - Method in exception au.com.dius.pact.provider.PactVerifierException
-
- getMessage() - Method in class au.com.dius.pact.provider.StateChangeResult
-
- getName() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getName() - Method in interface au.com.dius.pact.provider.IConsumerInfo
-
- getName() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getPackagesToScan() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getPackagesToScan() - Method in interface au.com.dius.pact.provider.IConsumerInfo
-
- getPackagesToScan() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getPactFile() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
Deprecated.
- getPactFileAuthentication() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getPactLoadFailureMessage() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- getPactSource() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getPactSource() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- getPactSource() - Method in class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- getPactSource() - Method in interface au.com.dius.pact.provider.junit.loader.PactLoader
-
Returns the source object that the pacts where loaded from
- getPactSource() - Method in class au.com.dius.pact.provider.junit.loader.PactUrlLoader
-
- getPath() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getPort() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getProjectClasspath() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to return the project classpath to use for looking up methods
- getProjectClasspath() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to return the project classpath to use for looking up methods
- getProjectGetProperty() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- getProjectHasProperty() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to determine is the project has a particular property
- getProjectHasProperty() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to determine is the project has a particular property
- getProtocol() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getProvider() - Method in class au.com.dius.pact.provider.ProviderClient
-
- getProviderMethodInstance() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to return the instance for the provider method to invoke
- getProviderMethodInstance() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to return the instance for the provider method to invoke
- getProviderVersion(projectVersion) - Static method in class au.com.dius.pact.provider.ProviderUtils
-
- getProviderVersion() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- getReporters() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
List of the all reporters to report the results of the verification to
- getReporters() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
List of the all reporters to report the results of the verification to
- getRequestFilter() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getStateChange() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getStateChange() - Method in interface au.com.dius.pact.provider.IConsumerInfo
-
- getStateChangeRequestFilter() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getStateChangeResult() - Method in class au.com.dius.pact.provider.StateChangeResult
-
- getStateChangeTeardown() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getStateChangeUrl() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getStateChangeUsesBody() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getStateChangeUsesBody() - Method in interface au.com.dius.pact.provider.IConsumerInfo
-
- getStateChangeUsesBody() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- getVerificationReporter() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- getVerificationType() - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- getVerificationType() - Method in interface au.com.dius.pact.provider.IConsumerInfo
-
- getVerificationType() - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- packagesToScan(providerInfo, consumer) - Static method in class au.com.dius.pact.provider.ProviderUtils
-
- PACT_FILTER_CONSUMERS - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_FILTER_DESCRIPTION - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_FILTER_PROVIDERSTATE - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_PROVIDER_VERSION - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_PROVIDER_VERSION_TRIM_SNAPSHOT - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_SHOW_FULLDIFF - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_SHOW_STACKTRACE - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PACT_VERIFIER_PUBLISH_RESULTS - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
-
- PactBroker - Interface in au.com.dius.pact.provider.junit.loader
-
Used to point Pact runner to source of pacts for contract tests Default values can be set by setting the `pactbroker.*` system properties
- PactBrokerAuth - Interface in au.com.dius.pact.provider.junit.loader
-
Defines the authentication scheme to use with the pact broker
- PactBrokerLoader - Class in au.com.dius.pact.provider.junit.loader
-
Out-of-the-box implementation of PactLoader that downloads pacts from Pact broker
- PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- pactFileExists(pactFile) - Method in class au.com.dius.pact.provider.ProviderUtils
-
- PactFilter - Interface in au.com.dius.pact.provider.junit.loader
-
Annotation to filter pacts by provider state. Supports regular expressions.
- PactFolder - Interface in au.com.dius.pact.provider.junit.loader
-
Used to point Pact runner to source of pacts for contract tests
- PactFolderLoader<I extends Interaction> - Class in au.com.dius.pact.provider.junit.loader
-
Out-of-the-box implementation of
interface PactLoader
that loads pacts from either a subfolder of project resource folder or a directory
- PactFolderLoader(path) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
Out-of-the-box implementation of
interface PactLoader
that loads pacts from either a subfolder of project resource folder or a directory
- PactFolderLoader(path) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- PactFolderLoader(path) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
Deprecated.
- PactFolderLoader(pactFolder) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- PactLoader - Interface in au.com.dius.pact.provider.junit.loader
-
Encapsulate logic for loading pacts
- pactLoadFailureForConsumer(consumer, message) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- pactLoadFailureForConsumer(consumer, message) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- PactSource - Interface in au.com.dius.pact.provider.junit.loader
-
Point out which PactLoader use for pact loading
- PactUrl - Interface in au.com.dius.pact.provider.junit.loader
-
Used to point Pact runner to source of pacts for contract tests
- PactUrlLoader - Class in au.com.dius.pact.provider.junit.loader
-
Implementation of PactLoader that downloads pacts from given urls
- PactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactUrlLoader
-
- PactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactUrlLoader
-
- PactVerification - Enum in au.com.dius.pact.provider
-
- PactVerification() - Constructor for enum au.com.dius.pact.provider.PactVerification
-
- PactVerifierException - Exception in au.com.dius.pact.provider
-
Exception indicating failure to setup pact verification
- PactVerifierException(message, cause) - Constructor for exception au.com.dius.pact.provider.PactVerifierException
-
Exception indicating failure to setup pact verification
- PactVerifierException() - Constructor for exception au.com.dius.pact.provider.PactVerifierException
-
Exception indicating failure to setup pact verification
- PactVerifyProvider - Interface in au.com.dius.pact.provider
-
Annotation to mark a test method for provider verification
- password() - Method in interface au.com.dius.pact.provider.junit.loader.PactBrokerAuth
-
Password to use for authentication
- port() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
-
- prepareRequest(request) - Method in class au.com.dius.pact.provider.ProviderClient
-
- protocol() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
-
HTTP protocol, defaults to http
- Provider - Interface in au.com.dius.pact.provider.junit
-
Used to pass provider name to Pact runner
- ProviderClient - Class in au.com.dius.pact.provider
-
Client HTTP utility for providers
- ProviderClient(provider, httpClientFactory) - Constructor for class au.com.dius.pact.provider.ProviderClient
-
Client HTTP utility for providers
- ProviderClient.Companion - Class in au.com.dius.pact.provider
-
- ProviderUtils - Class in au.com.dius.pact.provider
-
Common provider utils
- ProviderVerifierBase - Class in au.com.dius.pact.provider
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath, reporters, providerMethodInstance, providerVersion) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath, reporters, providerMethodInstance) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath, reporters) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase(pactLoadFailureMessage) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase() - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
-
Verifies the providers against the defined consumers in the context of a build plugin
- ProviderVerifierBase.Companion - Class in au.com.dius.pact.provider
-
- ProviderVerifierKt - Class in au.com.dius.pact.provider
-
- publishingResultsDisabled() - Method in class au.com.dius.pact.provider.DefaultVerificationReporter
-
This must return true unless the pact.verifier.publishResults property has the value of "true"
- publishingResultsDisabled() - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
If publishing of verification results has been disabled
- publishingResultsDisabled() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
This will return true unless the pact.verifier.publishResults property has the value of "true"
- publishingResultsDisabled() - Method in interface au.com.dius.pact.provider.VerificationReporter
-
This must return true unless the pact.verifier.publishResults property has the value of "true"
- scheme() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
-
HTTP scheme, defaults to HTTP
- scheme() - Method in interface au.com.dius.pact.provider.junit.loader.PactBrokerAuth
-
Authentication scheme to use. The default is basic.
- setCheckBuildSpecificTask(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to determine if something is a build specific task
- setCheckBuildSpecificTask(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to determine if something is a build specific task
- setDisplayFullDiff(p) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- setExecuteBuildSpecificTask(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Consumer SAM to execute the build specific task
- setExecuteBuildSpecificTask(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Consumer SAM to execute the build specific task
- setFailIfNoPactsFound() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- setName(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setPackagesToScan(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setPackagesToScan(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- setPactFile(file) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
Deprecated.
- setPactFileAuthentication(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setPactLoadFailureMessage(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- setPactSource(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setProjectClasspath(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to return the project classpath to use for looking up methods
- setProjectClasspath(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to return the project classpath to use for looking up methods
- setProjectGetProperty(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- setProjectHasProperty(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to determine is the project has a particular property
- setProjectHasProperty(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to determine is the project has a particular property
- setProviderMethodInstance(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
Callback to return the instance for the provider method to invoke
- setProviderMethodInstance(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
Callback to return the instance for the provider method to invoke
- setProviderVersion(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- setReportDir(reportDir) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- setReportDir(reportDir) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- setReporters(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
-
List of the all reporters to report the results of the verification to
- setReporters(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
List of the all reporters to report the results of the verification to
- setReportFile(reportFile) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- setReportFile(reportFile) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- setStateChange(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setStateChangeUsesBody(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setupBody(request, method) - Method in class au.com.dius.pact.provider.ProviderClient
-
- setupHeaders(request, method) - Method in class au.com.dius.pact.provider.ProviderClient
-
- setValueResolver() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- setValueResolver() - Method in interface au.com.dius.pact.provider.junit.loader.PactLoader
-
Sets the value resolver to use to resolve property expressions. By default a system property resolver will be used.
- setVerificationReporter(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
-
- setVerificationType(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
-
- setVerificationType(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
-
- State - Interface in au.com.dius.pact.provider.junit
-
Used to mark methods that should be run on state change
- StateChange - Class in au.com.dius.pact.provider
-
Class containing all the state change logic
- stateChange(verifier, state, provider, consumer, isSetup, providerClient) - Static method in class au.com.dius.pact.provider.StateChange
-
- StateChangeAction - Enum in au.com.dius.pact.provider.junit
-
- stateChangeRequestFailed(state, provider, isSetup, httpStatus) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- stateChangeRequestFailed(state, provider, isSetup, httpStatus) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- stateChangeRequestFailedWithException(state, provider, consumer, isSetup, e, printStackTrace) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- stateChangeRequestFailedWithException(state, provider, consumer, isSetup, e, printStackTrace) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- StateChangeResult - Class in au.com.dius.pact.provider
-
- StateChangeResult(stateChangeResult, message) - Constructor for class au.com.dius.pact.provider.StateChangeResult
-
- StateChangeResult(stateChangeResult) - Constructor for class au.com.dius.pact.provider.StateChangeResult
-
- stateForInteraction(state, provider, consumer, isSetup) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- stateForInteraction(state, provider, consumer, isSetup) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- statusComparisonFailed(status, comparison) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- statusComparisonFailed(status, comparison) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- statusComparisonOk(status) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
-
- statusComparisonOk(status) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
-
- systemPropertySet(property) - Method in class au.com.dius.pact.provider.ProviderClient
-