public class ProviderVerifier implements IProviderVerifier
Verifies the providers against the defined consumers in the context of a build plugin
@NotNull public static java.lang.String PACT_VERIFIER_PUBLISH_RESULTS
@NotNull public static java.lang.String PACT_VERIFIER_BUILD_URL
@NotNull public static java.lang.String PACT_FILTER_CONSUMERS
@NotNull public static java.lang.String PACT_FILTER_DESCRIPTION
@NotNull public static java.lang.String PACT_FILTER_PROVIDERSTATE
@NotNull public static java.lang.String PACT_FILTER_PACTURL
@NotNull public static java.lang.String PACT_SHOW_STACKTRACE
@NotNull public static java.lang.String PACT_SHOW_FULLDIFF
@NotNull public static java.lang.String PACT_PROVIDER_VERSION
@NotNull public static java.lang.String PACT_PROVIDER_TAG
@NotNull public static java.lang.String PACT_PROVIDER_BRANCH
@NotNull public static java.lang.String PACT_PROVIDER_VERSION_TRIM_SNAPSHOT
public static au.com.dius.pact.provider.ProviderVerifier.Companion Companion
@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance,
@NotNull
java.util.function.Supplier<java.lang.String> providerVersion,
@Nullable
java.util.function.Supplier<java.lang.String> providerTag,
@Nullable
java.util.function.Supplier<java.util.List> providerTags,
@Nullable
java.util.function.Supplier<java.lang.String> providerBranch,
@Nullable
java.util.function.Supplier<java.lang.ClassLoader> projectClassLoader,
@Nullable
java.util.function.Function<java.lang.String,java.lang.Object> responseFactory)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invokeproviderVersion - Callback to get the provider versionproviderTag - Callback to get the provider tagproviderTags - Callback to get the provider tagsproviderBranch - Callback to get the provider branchprojectClassLoader - Callback to return the project classloader to use for looking up methodsresponseFactory - Callback which is given an interaction description and returns a response@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance,
@NotNull
java.util.function.Supplier<java.lang.String> providerVersion,
@Nullable
java.util.function.Supplier<java.lang.String> providerTag,
@Nullable
java.util.function.Supplier<java.util.List> providerTags,
@Nullable
java.util.function.Supplier<java.lang.String> providerBranch,
@Nullable
java.util.function.Supplier<java.lang.ClassLoader> projectClassLoader)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invokeproviderVersion - Callback to get the provider versionproviderTag - Callback to get the provider tagproviderTags - Callback to get the provider tagsproviderBranch - Callback to get the provider branchprojectClassLoader - Callback to return the project classloader to use for looking up methods@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance,
@NotNull
java.util.function.Supplier<java.lang.String> providerVersion,
@Nullable
java.util.function.Supplier<java.lang.String> providerTag,
@Nullable
java.util.function.Supplier<java.util.List> providerTags,
@Nullable
java.util.function.Supplier<java.lang.String> providerBranch)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invokeproviderVersion - Callback to get the provider versionproviderTag - Callback to get the provider tagproviderTags - Callback to get the provider tagsproviderBranch - Callback to get the provider branch@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance,
@NotNull
java.util.function.Supplier<java.lang.String> providerVersion,
@Nullable
java.util.function.Supplier<java.lang.String> providerTag,
@Nullable
java.util.function.Supplier<java.util.List> providerTags)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invokeproviderVersion - Callback to get the provider versionproviderTag - Callback to get the provider tagproviderTags - Callback to get the provider tags@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance,
@NotNull
java.util.function.Supplier<java.lang.String> providerVersion,
@Nullable
java.util.function.Supplier<java.lang.String> providerTag)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invokeproviderVersion - Callback to get the provider versionproviderTag - Callback to get the provider tag@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance,
@NotNull
java.util.function.Supplier<java.lang.String> providerVersion)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invokeproviderVersion - Callback to get the provider version@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters,
@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> providerMethodInstance)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification toproviderMethodInstance - Callback to return the instance for the provider method to invoke@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath,
@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> reporters)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methodsreporters - List of the all reporters to report the results of the verification to@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask,
@NotNull
java.util.function.Supplier<java.util.List> projectClasspath)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific taskprojectClasspath - Callback to return the project classpath to use for looking up methods@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask,
@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> executeBuildSpecificTask)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific taskexecuteBuildSpecificTask - Consumer SAM to execute the build specific task@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage,
@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> checkBuildSpecificTask)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load errorcheckBuildSpecificTask - Callback to determine if something is a build specific task@JvmOverloads
public ProviderVerifier(@Nullable
java.lang.Object pactLoadFailureMessage)
Verifies the providers against the defined consumers in the context of a build plugin
pactLoadFailureMessage - Callback to display a pact load error@JvmOverloads public ProviderVerifier()
Verifies the providers against the defined consumers in the context of a build plugin
@NotNull public java.util.function.Function<java.lang.String,java.lang.Boolean> getProjectHasProperty()
Callback to determine is the project has a particular property
public void setProjectHasProperty(@NotNull
java.util.function.Function<java.lang.String,java.lang.Boolean> p)
Callback to determine is the project has a particular property
@NotNull public java.util.function.Function<java.lang.String,java.lang.String> getProjectGetProperty()
Callback to fetch a project property
public void setProjectGetProperty(@NotNull
java.util.function.Function<java.lang.String,java.lang.String> p)
Callback to fetch a project property
@NotNull public VerificationReporter getVerificationReporter()
public void setVerificationReporter(@NotNull
VerificationReporter p)
@NotNull public StateChange getStateChangeHandler()
public void setStateChangeHandler(@NotNull
StateChange p)
@NotNull public au.com.dius.pact.core.model.PactReader getPactReader()
public void setPactReader(@NotNull
au.com.dius.pact.core.model.PactReader p)
@Nullable public java.lang.String getVerificationSource()
Source of the verification (Gradle/Maven/Junit)
public void setVerificationSource(@Nullable
java.lang.String p)
Source of the verification (Gradle/Maven/Junit)
public boolean publishingResultsDisabled()
This will return true unless the pact.verifier.publishResults property has the value of "true"
@NotNull public VerificationResult verifyResponseByInvokingProviderMethods(@NotNull IProviderInfo providerInfo, @NotNull IConsumerInfo consumer, @NotNull au.com.dius.pact.core.model.Interaction interaction, @NotNull java.lang.String interactionMessage, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures)
Verifies the interaction by invoking a method on a provider test class
@NotNull public VerificationResult verifyResponseByFactory(@NotNull IProviderInfo providerInfo, @NotNull IConsumerInfo consumer, @NotNull au.com.dius.pact.core.model.Interaction interaction, @NotNull java.lang.String interactionMessage, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, boolean pending)
@NotNull public VerificationResult displayBodyResult(@NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull com.github.michaelbull.result.Result<au.com.dius.pact.provider.BodyComparisonResult,au.com.dius.pact.core.matchers.BodyTypeMismatch> comparison, @NotNull java.lang.String comparisonDescription, @NotNull java.lang.String interactionId, boolean pending)
@NotNull public VerificationResult verifyMessagePact(@NotNull java.util.Set<java.lang.reflect.Method> methods, @NotNull au.com.dius.pact.core.model.messaging.Message message, @NotNull java.lang.String interactionMessage, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, boolean pending)
public void displayFailures(@NotNull
java.util.List<au.com.dius.pact.provider.VerificationResult.Failed> failures)
Displays all the failures from the verification run
public void finaliseReports()
Finalise all the reports after verification is complete
@JvmOverloads @NotNull public VerificationResult verifyInteraction(@NotNull IProviderInfo provider, @NotNull IConsumerInfo consumer, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull au.com.dius.pact.core.model.Interaction interaction, @NotNull ProviderClient providerClient)
@JvmOverloads @NotNull public VerificationResult verifyInteraction(@NotNull IProviderInfo provider, @NotNull IConsumerInfo consumer, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull au.com.dius.pact.core.model.Interaction interaction)
public void reportInteractionDescription(@NotNull
au.com.dius.pact.core.model.Interaction interaction)
Display info about the interaction about to be verified
@NotNull
public java.lang.String generateErrorStringFromVerificationResult(@NotNull
java.util.List<au.com.dius.pact.provider.VerificationResult.Failed> result)
public void reportStateChangeFailed(@NotNull
au.com.dius.pact.core.model.ProviderState providerState,
@NotNull
java.lang.Exception error,
boolean isSetup)
@NotNull public VerificationResult verifyRequestResponsePact(@NotNull au.com.dius.pact.core.model.Response expectedResponse, @NotNull ProviderResponse actualResponse, @NotNull java.lang.String interactionMessage, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull java.lang.String interactionId, boolean pending)
Compares the expected and actual responses
@NotNull public VerificationResult displayStatusResult(@NotNull java.util.Map<java.lang.String,java.lang.Object> failures, int status, @Nullable au.com.dius.pact.core.matchers.StatusMismatch mismatch, @NotNull java.lang.String comparisonDescription, @NotNull java.lang.String interactionId, boolean pending)
@NotNull public VerificationResult displayHeadersResult(@NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull java.util.Map<java.lang.String,? extends java.util.List<java.lang.String>> expected, @NotNull java.util.Map<java.lang.String,? extends java.util.List<au.com.dius.pact.core.matchers.HeaderMismatch>> headers, @NotNull java.lang.String comparisonDescription, @NotNull java.lang.String interactionId, boolean pending)
@NotNull public VerificationResult verifyResponseFromProvider(@NotNull IProviderInfo provider, @NotNull au.com.dius.pact.core.model.RequestResponseInteraction interaction, @NotNull java.lang.String interactionMessage, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull ProviderClient client)
Verifies the response from the provider against the interaction
@NotNull public VerificationResult verifyResponseFromProvider(@NotNull IProviderInfo provider, @NotNull au.com.dius.pact.core.model.RequestResponseInteraction interaction, @NotNull java.lang.String interactionMessage, @NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull ProviderClient client, @NotNull java.util.Map<java.lang.String,? extends java.lang.Object> context, boolean pending)
Verifies the response from the provider against the interaction
@NotNull
public java.util.List<au.com.dius.pact.provider.VerificationResult> verifyProvider(@NotNull
IProviderInfo provider)
Run the verification for the given provider and return any failures
public void initialiseReporters(@NotNull
IProviderInfo provider)
@JvmOverloads @NotNull public VerificationResult runVerificationForConsumer(@NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull IProviderInfo provider, @NotNull IConsumerInfo consumer, @Nullable au.com.dius.pact.core.pactbroker.IPactBrokerClient client)
@JvmOverloads @NotNull public VerificationResult runVerificationForConsumer(@NotNull java.util.Map<java.lang.String,java.lang.Object> failures, @NotNull IProviderInfo provider, @NotNull IConsumerInfo consumer)
public void reportVerificationForConsumer(@NotNull
IConsumerInfo consumer,
@NotNull
IProviderInfo provider,
@Nullable
au.com.dius.pact.core.model.PactSource pactSource)
@NotNull
public au.com.dius.pact.core.model.Pact<? extends au.com.dius.pact.core.model.Interaction> loadPactFileForConsumer(@NotNull
IConsumerInfo consumer)
public boolean filterConsumers(@NotNull
IConsumerInfo consumer)
public boolean filterInteractions(@NotNull
au.com.dius.pact.core.model.Interaction interaction)
public void reportStateForInteraction(@NotNull
java.lang.String state,
@NotNull
IProviderInfo provider,
@NotNull
IConsumerInfo consumer,
boolean isSetup)
Reports the state of the interaction to all the registered reporters
@Nullable public java.lang.Object getPactLoadFailureMessage()
Callback to display a pact load error
public void setPactLoadFailureMessage(@Nullable
java.lang.Object p)
Callback to display a pact load error
p - Callback to display a pact load error@NotNull public java.util.function.Function<java.lang.Object,java.lang.Boolean> getCheckBuildSpecificTask()
Callback to determine if something is a build specific task
public void setCheckBuildSpecificTask(@NotNull
java.util.function.Function<java.lang.Object,java.lang.Boolean> p)
Callback to determine if something is a build specific task
p - Callback to determine if something is a build specific task@NotNull public java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> getExecuteBuildSpecificTask()
Consumer SAM to execute the build specific task
public void setExecuteBuildSpecificTask(@NotNull
java.util.function.BiConsumer<java.lang.Object,au.com.dius.pact.core.model.ProviderState> p)
Consumer SAM to execute the build specific task
p - Consumer SAM to execute the build specific task@NotNull public java.util.function.Supplier<java.util.List> getProjectClasspath()
Callback to return the project classpath to use for looking up methods
public void setProjectClasspath(@NotNull
java.util.function.Supplier<java.util.List> p)
Callback to return the project classpath to use for looking up methods
p - Callback to return the project classpath to use for looking up methods@NotNull public java.util.List<au.com.dius.pact.provider.reporters.VerifierReporter> getReporters()
List of the all reporters to report the results of the verification to
public void setReporters(@NotNull
java.util.List<? extends au.com.dius.pact.provider.reporters.VerifierReporter> p)
List of the all reporters to report the results of the verification to
p - List of the all reporters to report the results of the verification to@NotNull public java.util.function.Function<java.lang.reflect.Method,java.lang.Object> getProviderMethodInstance()
Callback to return the instance for the provider method to invoke
public void setProviderMethodInstance(@NotNull
java.util.function.Function<java.lang.reflect.Method,java.lang.Object> p)
Callback to return the instance for the provider method to invoke
p - Callback to return the instance for the provider method to invoke@NotNull public java.util.function.Supplier<java.lang.String> getProviderVersion()
Callback to get the provider version
public void setProviderVersion(@NotNull
java.util.function.Supplier<java.lang.String> p)
Callback to get the provider version
p - Callback to get the provider version@Nullable public java.util.function.Supplier<java.lang.String> getProviderTag()
Callback to get the provider tag
public void setProviderTag(@Nullable
java.util.function.Supplier<java.lang.String> p)
Callback to get the provider tag
p - Callback to get the provider tag@Nullable public java.util.function.Supplier<java.util.List> getProviderTags()
Callback to get the provider tags
public void setProviderTags(@Nullable
java.util.function.Supplier<java.util.List> p)
Callback to get the provider tags
p - Callback to get the provider tags@Nullable public java.util.function.Supplier<java.lang.String> getProviderBranch()
Callback to get the provider branch
public void setProviderBranch(@Nullable
java.util.function.Supplier<java.lang.String> p)
Callback to get the provider branch
p - Callback to get the provider branch@Nullable public java.util.function.Supplier<java.lang.ClassLoader> getProjectClassLoader()
Callback to return the project classloader to use for looking up methods
public void setProjectClassLoader(@Nullable
java.util.function.Supplier<java.lang.ClassLoader> p)
Callback to return the project classloader to use for looking up methods
p - Callback to return the project classloader to use for looking up methods@Nullable public java.util.function.Function<java.lang.String,java.lang.Object> getResponseFactory()
Callback which is given an interaction description and returns a response
public void setResponseFactory(@Nullable
java.util.function.Function<java.lang.String,java.lang.Object> p)
Callback which is given an interaction description and returns a response
p - Callback which is given an interaction description and returns a response