Object DefaultVerificationReporter

  • All Implemented Interfaces:
    au.com.dius.pact.provider.VerificationReporter , io.github.oshai.kotlinlogging.KLoggable

    
    public class DefaultVerificationReporter
    extends KLogging implements VerificationReporter
                        

    Default implementation of a verification reporter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, String tag) Publish the results to the pact broker.
      Result<Boolean, List<String>> reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, List<String> tags, String branch) Publish the results to the pact broker.
      Boolean publishingResultsDisabled() This must return true unless the pact.verifier.
      Boolean publishingResultsDisabled(ValueResolver resolver) This must return true unless the pact.verifier.
      • Methods inherited from class io.github.oshai.kotlinlogging.KLoggable

        logger, logger
      • Methods inherited from class io.github.oshai.kotlinlogging.KLogging

        getLogger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • reportResults

         Unit reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, String tag)

        Publish the results to the pact broker. If the tag is given, then the provider will be tagged with that first.

      • reportResults

         Result<Boolean, List<String>> reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, List<String> tags, String branch)

        Publish the results to the pact broker. If the branch is given, then branch for this provider will be created first. If the tags are given, then the provider will be tagged with those after the branch si created.

      • publishingResultsDisabled

         Boolean publishingResultsDisabled(ValueResolver resolver)

        This must return true unless the pact.verifier.publishResults property has the value of "true"