Interface to an interaction between a consumer and a provider
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
conflictsWith(Interaction other)Checks if this interaction conflicts with the other one. |
|
java.lang.String |
getDescription()Interaction description |
|
java.lang.String |
getProviderState()This just returns the first description from getProviderStates() |
|
java.util.List<ProviderState> |
getProviderStates()Returns the provider states for this interaction |
|
java.util.Map |
toMap(PactSpecVersion pactSpecVersion)Converts this interaction to a Map |
|
java.lang.String |
uniqueKey() |
Checks if this interaction conflicts with the other one. Used for merging pact files.
Interaction description
This just returns the first description from getProviderStates()
Returns the provider states for this interaction
Converts this interaction to a Map