-
public class ConsumerPactBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConsumerPactBuilder.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<Interaction>interactionsprivate final StringconsumerName
-
Constructor Summary
Constructors Constructor Description ConsumerPactBuilder(String consumerName)
-
Method Summary
Modifier and Type Method Description final List<Interaction>getInteractions()final StringgetConsumerName()Returns the name of the consumer final PactDslWithProviderhasPactWith(String provider)Name the provider that the consumer has a pact with final ConsumerPactBuilderpactSpecVersion(PactSpecVersion version)-
-
Constructor Detail
-
ConsumerPactBuilder
ConsumerPactBuilder(String consumerName)
-
-
Method Detail
-
getInteractions
final List<Interaction> getInteractions()
-
getConsumerName
final String getConsumerName()
Returns the name of the consumer
-
hasPactWith
final PactDslWithProvider hasPactWith(String provider)
Name the provider that the consumer has a pact with
- Parameters:
provider- provider name
-
pactSpecVersion
final ConsumerPactBuilder pactSpecVersion(PactSpecVersion version)
-
-
-
-