Package 

Object PactBuilder.Companion

  • All Implemented Interfaces:
    io.github.oshai.kotlinlogging.KLoggable

    
    public class PactBuilder.Companion
    extends KLogging
                        
    • 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
      final List<Pair<MessageContents, InteractionMarkup>> setupMessageContents(DslBuilder pactBuilder, Object contents, V4Interaction interaction)
      final String textFile(String filePath) Loads the file given by the file path and returns the contents.
      final String filePath(String filePath) Convenience function to resolve a file path against the current working directory.
      • 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

      • textFile

         final String textFile(String filePath)

        Loads the file given by the file path and returns the contents. Relative paths will be resolved against the current working directory.

      • filePath

         final String filePath(String filePath)

        Convenience function to resolve a file path against the current working directory.