Class StubDownloaderBuilderProvider
java.lang.Object
org.springframework.cloud.contract.stubrunner.StubDownloaderBuilderProvider
Provider for
StubDownloaderBuilder. It can also pick a default downloader if
none is provided- Since:
- 1.1.0
- Author:
- Marcin Grzejszczak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(StubRunnerOptions stubRunnerOptions, StubDownloaderBuilder... additionalBuilders)
-
Constructor Details
-
StubDownloaderBuilderProvider
public StubDownloaderBuilderProvider()
-
-
Method Details
-
get
public StubDownloader get(StubRunnerOptions stubRunnerOptions, StubDownloaderBuilder... additionalBuilders) - Parameters:
stubRunnerOptions- options of Stub RunneradditionalBuilders- - optional array ofStubDownloaderBuilders to append to the list of builders- Returns:
- composite
StubDownloaderthat iterates over a list of stub downloaders
-