public class ClasspathStubProvider extends Object implements StubDownloaderBuilder
StubRunnerProperties.repositoryRoot
is provided then by default classpath is searched according to what has been passed in
StubRunnerProperties.ids
. The
pattern to search for stubs looks like this
META-INF/group.id/artifactid/ ** /*.*
contracts/group.id/artifactid/ ** /*.*
mappings/group.id/artifactid/ ** /*.*
examples
META-INF/com.example/fooservice/1.0.0/ **
contracts/com.example/artifactid/ ** /*.*
mappings/com.example/artifactid/ ** /*.*
Constructor and Description |
---|
ClasspathStubProvider() |
Modifier and Type | Method and Description |
---|---|
StubDownloader |
build(StubRunnerOptions stubRunnerOptions) |
public StubDownloader build(StubRunnerOptions stubRunnerOptions)
build
in interface StubDownloaderBuilder
Copyright © 2016–2017 Spring. All rights reserved.