Class to write out a pact to a file
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.lang.Object |
writePact(Pact pact, java.io.PrintWriter writer, PactSpecVersion pactSpecVersion = PactSpecVersion.V3)Writes out the pact to the provided pact file |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Writes out the pact to the provided pact file
pact - Pact to writewriter - Writer to write out withpactSpecVersion - Pact version to use to control writing