public class PactWriter
Class to write out a pact to a file
| Modifier and Type | Field and Description |
|---|---|
static PactWriter |
INSTANCE
Class to write out a pact to a file
|
| Modifier and Type | Method and Description |
|---|---|
static void |
writePact(Pact pact,
java.io.PrintWriter writer,
PactSpecVersion pactSpecVersion)
Writes out the pact to the provided pact file
|
static void |
writePact(Pact pact,
java.io.PrintWriter writer)
Writes out the pact to the provided pact file
|
public static PactWriter INSTANCE
Class to write out a pact to a file
public static void writePact(Pact pact, java.io.PrintWriter writer, PactSpecVersion pactSpecVersion)
Writes out the pact to the provided pact file
pact - Pact to writewriter - Writer to write out withpactSpecVersion - Pact version to use to control writingpublic static void writePact(Pact pact, java.io.PrintWriter writer)
Writes out the pact to the provided pact file
pact - Pact to writewriter - Writer to write out with