public class StubDownloaderBuilderProvider extends Object
StubDownloaderBuilder
. It can also pick a default
downloader if none is providedConstructor and Description |
---|
StubDownloaderBuilderProvider() |
Modifier and Type | Method and Description |
---|---|
StubDownloaderBuilder |
get() |
StubDownloader |
getOrDefaultDownloader(StubRunnerOptions stubRunnerOptions)
If a
StubDownloaderBuilder is present will build a StubDownloader from it. |
boolean |
hasBuilder() |
public StubDownloaderBuilder get()
public StubDownloader getOrDefaultDownloader(StubRunnerOptions stubRunnerOptions)
StubDownloaderBuilder
is present will build a StubDownloader
from it.
If not will return the defaults basing on the StubRunnerOptions
valuespublic boolean hasBuilder()
Copyright © 2016–2017 Spring. All rights reserved.