public Interaction
Interface to an interaction between a consumer and a provider
| Modifier and Type | Method and Description |
|---|---|
boolean |
conflictsWith(Interaction other)
Checks if this interaction conflicts with the other one. Used for merging pact files.
|
java.lang.String |
getDescription()
Interaction description
|
java.lang.String |
getProviderState()
Deprecated.
|
java.util.List<au.com.dius.pact.core.model.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() |
java.lang.String getDescription()
Interaction description
java.lang.String getProviderState()
This just returns the first description from getProviderStates()
java.util.List<au.com.dius.pact.core.model.ProviderState> getProviderStates()
Returns the provider states for this interaction
boolean conflictsWith(Interaction other)
Checks if this interaction conflicts with the other one. Used for merging pact files.
java.util.Map<?,?> toMap(PactSpecVersion pactSpecVersion)
Converts this interaction to a Map
java.lang.String uniqueKey()