Interface to a pact
| Type | Name and description |
|---|---|
Consumer |
getConsumer()Returns the consumer of the service for the pact |
java.util.List<Interaction> |
getInteractions()Returns all the interactions of the pact |
Provider |
getProvider()Returns the provider of the service for the pact |
Pact |
sortInteractions()Returns a pact with the interactions sorted |
java.util.Map |
toMap(PactSpecVersion pactSpecVersion)Returns a Map representation of this pact for the purpose of generating a JSON document. |
Returns the consumer of the service for the pact
Returns all the interactions of the pact
Returns the provider of the service for the pact
Returns a pact with the interactions sorted
Returns a Map representation of this pact for the purpose of generating a JSON document.