public interface StubFinder extends StubTrigger
| Modifier and Type | Method and Description |
|---|---|
RunningStubs |
findAllRunningStubs()
Returns all running stubs
|
URL |
findStubUrl(String ivyNotation)
For the given Ivy notation
groupId:artifactId tries to find the matching
URL of the running stub. |
URL |
findStubUrl(String groupId,
String artifactId)
For the given groupId and artifactId tries to find the matching
URL of the running stub.
|
Map<StubConfiguration,Collection<org.springframework.cloud.contract.spec.Contract>> |
getContracts()
Returns the list of Contracts
|
labels, trigger, trigger, triggerURL findStubUrl(String groupId, String artifactId)
groupId - - might be null. In that case a search only via artifactId takes placeURL findStubUrl(String ivyNotation)
groupId:artifactId tries to find the matching
URL of the running stub. You can also pass only artifactId.ivyNotation - - Ivy representation of the Maven artifactRunningStubs findAllRunningStubs()
Map<StubConfiguration,Collection<org.springframework.cloud.contract.spec.Contract>> getContracts()
Copyright © 2016 Spring. All rights reserved.