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 <I extends Interaction> |
writePact(Pact<I> pact,
java.io.PrintWriter writer,
PactSpecVersion pactSpecVersion)
Writes out the pact to the provided pact file
|
static <I extends Interaction> |
writePact(Pact<I> 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 <I extends Interaction> void writePact(Pact<I> 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 <I extends Interaction> void writePact(Pact<I> pact, java.io.PrintWriter writer)
Writes out the pact to the provided pact file
pact - Pact to writewriter - Writer to write out with