public interface StubDownloaderBuilder
extends org.springframework.core.io.ProtocolResolver
StubDownloader. Can't allow direct usage
of StubDownloader cause in order to register instances
of this interface in SpringFactoriesLoader
one needs a default constructor whereas the StubDownloader
instances need to be constructed from stub related options.
Since 2.0.0 extends ProtocolResolver. Implementations have
to tell Spring how to parse the repository root String into a resource.| Modifier and Type | Method and Description |
|---|---|
StubDownloader |
build(StubRunnerOptions stubRunnerOptions) |
default org.springframework.core.io.Resource |
resolve(String location,
org.springframework.core.io.ResourceLoader resourceLoader) |
StubDownloader build(StubRunnerOptions stubRunnerOptions)
StubDownloader instance of null if current parameters don't allow building the instancedefault org.springframework.core.io.Resource resolve(String location, org.springframework.core.io.ResourceLoader resourceLoader)
resolve in interface org.springframework.core.io.ProtocolResolverCopyright © 2016–2018 Spring. All rights reserved.