public final class ScmStubDownloaderBuilder extends Object implements StubDownloaderBuilder
StubDownloader to work with contracts and stubs from a SCM| Constructor and Description |
|---|
ScmStubDownloaderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
StubDownloader |
build(StubRunnerOptions stubRunnerOptions) |
static boolean |
isProtocolAccepted(String url)
Does any of the accepted protocols matches the URL of the repository
|
org.springframework.core.io.Resource |
resolve(String location,
org.springframework.core.io.ResourceLoader resourceLoader) |
public static boolean isProtocolAccepted(String url)
url - - of the repositorypublic StubDownloader build(StubRunnerOptions stubRunnerOptions)
build in interface StubDownloaderBuilderStubDownloader instance of null if current parameters don't allow building the instancepublic org.springframework.core.io.Resource resolve(String location, org.springframework.core.io.ResourceLoader resourceLoader)
resolve in interface StubDownloaderBuilderresolve in interface org.springframework.core.io.ProtocolResolverCopyright © 2016–2018 Spring. All rights reserved.