Package | Description |
---|---|
org.springframework.cloud.contract.stubrunner.junit |
Modifier and Type | Method and Description |
---|---|
StubRunnerRule |
StubRunnerRule.downloadLatestStub(String groupId,
String artifactId,
String classifier)
Group Id, artifact Id and classifier of a single stub to download in the latest version
|
StubRunnerRule |
StubRunnerRule.downloadStub(String ivyNotation)
Ivy notation of a single stub to download.
|
StubRunnerRule |
StubRunnerRule.downloadStub(String groupId,
String artifactId)
Group Id, artifact Id of a single stub to download.
|
StubRunnerRule |
StubRunnerRule.downloadStub(String groupId,
String artifactId,
String version)
Group Id, artifact Id and version of a single stub to download
|
StubRunnerRule |
StubRunnerRule.downloadStub(String groupId,
String artifactId,
String version,
String classifier)
Group Id, artifact Id, version and classifier of a single stub to download
|
StubRunnerRule |
StubRunnerRule.downloadStubs(List<String> ivyNotations)
Stubs to download in Ivy notations
|
StubRunnerRule |
StubRunnerRule.downloadStubs(String... ivyNotations)
Stubs to download in Ivy notations
|
StubRunnerRule |
StubRunnerRule.maxPort(int maxPort)
Max value of port for WireMock server
|
StubRunnerRule |
StubRunnerRule.messageVerifier(MessageVerifier messageVerifier)
Pass the
MessageVerifier that this rule should use. |
StubRunnerRule |
StubRunnerRule.minPort(int minPort)
Min value of port for WireMock server
|
StubRunnerRule |
StubRunnerRule.options(StubRunnerOptions stubRunnerOptions)
Override all options
|
StubRunnerRule |
StubRunnerRule.repoRoot(String repoRoot)
String URI of repository containing stubs
|
StubRunnerRule |
StubRunnerRule.withConsumerName(String consumerName)
Allows setting consumer name
|
StubRunnerRule |
StubRunnerRule.withPort(Integer port)
Appends port to last added stub
|
StubRunnerRule |
StubRunnerRule.withStubPerConsumer(boolean stubPerConsumer)
Allows stub per consumer
|
StubRunnerRule |
StubRunnerRule.workOffline(boolean workOffline)
Should download stubs or use only the local repository
|
Copyright © 2016–2017 Spring. All rights reserved.