public class FileStubDownloader extends Object implements StubDownloaderBuilder
AetherStubDownloaderBuilder,
doesn't require the location to be a maven repository.| Constructor and Description |
|---|
FileStubDownloader() |
| 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 repositorytrue if protocol is acceptedpublic StubDownloader build(StubRunnerOptions stubRunnerOptions)
build in interface StubDownloaderBuilderstubRunnerOptions - options of Stub RunnerStubDownloader 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–2021 Spring. All rights reserved.