Class StubRunnerExtension.PortStubRunnerExtension
- java.lang.Object
-
- org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
-
- org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension.PortStubRunnerExtension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension,StubFinder,StubTrigger
- Enclosing class:
- StubRunnerExtension
public static class StubRunnerExtension.PortStubRunnerExtension extends StubRunnerExtension
Helper class with additional port, related methods once you pick a stub to download.- Since:
- 1.2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
StubRunnerExtension.PortStubRunnerExtension
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StubRunnerExtensionwithPort(Integer port)-
Methods inherited from class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
afterAll, afterEach, beforeAll, beforeEach, downloadLatestStub, downloadStub, downloadStub, downloadStub, downloadStub, downloadStubs, downloadStubs, failOnNoStubs, findAllRunningStubs, findStubUrl, findStubUrl, getContracts, labels, maxPort, messageVerifier, minPort, options, repoRoot, stubsMode, trigger, trigger, trigger, withConsumerName, withDeleteStubsAfterTest, withGenerateStubs, withHttpServerStubConfigurer, withMappingsOutputFolder, withProperties, withStubPerConsumer
-
-
-
-
Method Detail
-
withPort
public StubRunnerExtension withPort(Integer port)
-
-