Interface VerificationReporter

  • All Implemented Interfaces:

    
    public interface VerificationReporter
    
                        

    Interface to the reporter that published the verification results

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, String tag) Publish the results to the pact broker.
      abstract 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.
      abstract Boolean publishingResultsDisabled() This must return true unless the pact.verifier.
      abstract Boolean publishingResultsDisabled(ValueResolver resolver) This must return true unless the pact.verifier.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • reportResults

        @Deprecated(message = "Use version that takes a list of provider tags") abstract 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

         abstract 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

        @Deprecated(message = "Use version that takes a value resolver") abstract Boolean publishingResultsDisabled()

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

      • publishingResultsDisabled

         abstract Boolean publishingResultsDisabled(ValueResolver resolver)

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