public PactWriter
Class to write out a pact to a file
| Modifier and Type | Method and Description |
|---|---|
void |
writePact(Pact<?> pact,
java.io.PrintWriter writer,
PactSpecVersion pactSpecVersion)
Writes out the pact to the provided pact file
|
void |
writePact(Pact<?> pact,
java.io.PrintWriter writer)
Writes out the pact to the provided pact file
|
void |
writePact(java.io.File pactFile,
Pact<?> pact,
PactSpecVersion pactSpecVersion)
Writes out the pact to the provided pact file in a manor that is safe for parallel execution
|
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 writingvoid writePact(Pact<?> pact, java.io.PrintWriter writer)
Writes out the pact to the provided pact file
pact - Pact to writewriter - Writer to write out withvoid writePact(java.io.File pactFile,
Pact<?> pact,
PactSpecVersion pactSpecVersion)
Writes out the pact to the provided pact file in a manor that is safe for parallel execution
pactFile - File to write topact - Pact to writepactSpecVersion - Pact version to use to control writing