-
- All Implemented Interfaces:
-
io.github.oshai.kotlinlogging.KLoggable
public class PactBuilder.Companion extends KLogging
-
-
Field Summary
Fields Modifier and Type Field Description private final KLoggerloggerpublic final static PactBuilder.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final List<Pair<MessageContents, InteractionMarkup>>setupMessageContents(DslBuilder pactBuilder, Object contents, V4Interaction interaction)final StringtextFile(String filePath)Loads the file given by the file path and returns the contents. final StringfilePath(String filePath)Convenience function to resolve a file path against the current working directory. -
-
Method Detail
-
setupMessageContents
final List<Pair<MessageContents, InteractionMarkup>> setupMessageContents(DslBuilder pactBuilder, Object contents, V4Interaction interaction)
-
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.
-
-
-
-