public class ClasspathStubProvider extends Object implements StubDownloaderBuilder
StubRunnerProperties.stubsMode
is set to
StubRunnerProperties.StubsMode.CLASSPATH
then 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/ ** /*.* 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolvepublic StubDownloader build(StubRunnerOptions stubRunnerOptions)
build in interface StubDownloaderBuilderstubRunnerOptions - options of Stub RunnerStubDownloader instance of null if current parameters don't
allow building the instanceCopyright © 2016–2021 Spring. All rights reserved.