public Interaction
Interface to an interaction between a consumer and a provider
@NotNull java.lang.String getDescription()
Interaction description
@NotNull java.util.List<au.com.dius.pact.core.model.ProviderState> getProviderStates()
Returns the provider states for this interaction
boolean conflictsWith(@NotNull
Interaction other)
Checks if this interaction conflicts with the other one. Used for merging pact files.
@NotNull
java.util.Map<?,?> toMap(@NotNull
PactSpecVersion pactSpecVersion)
Converts this interaction to a Map
@NotNull java.lang.String uniqueKey()
Generates a unique key for this interaction
@Nullable java.lang.String getInteractionId()
Interaction ID. Will only be populated from pacts loaded from a Pact Broker