Class StubDownloaderBuilderProvider
- java.lang.Object
-
- org.springframework.cloud.contract.stubrunner.StubDownloaderBuilderProvider
-
public class StubDownloaderBuilderProvider extends Object
Provider forStubDownloaderBuilder. It can also pick a default downloader if none is provided- Since:
- 1.1.0
- Author:
- Marcin Grzejszczak
-
-
Constructor Summary
Constructors Constructor Description StubDownloaderBuilderProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StubDownloaderget(StubRunnerOptions stubRunnerOptions, StubDownloaderBuilder... additionalBuilders)
-
-
-
Method Detail
-
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
-
-