public PactReader
Class to load a Pact from a JSON source using a version strategy
| Modifier and Type | Method and Description |
|---|---|
Pact<?> |
loadPact(java.lang.Object source)
Loads a pact file from either a File or a URL
|
Pact<?> |
loadPact(java.lang.Object source,
java.util.Map<java.lang.String,? extends java.lang.Object> options)
Loads a pact file from either a File or a URL
|
Pact<?> loadPact(java.lang.Object source)
Loads a pact file from either a File or a URL
source - a File or a URLPact<?> loadPact(java.lang.Object source, java.util.Map<java.lang.String,? extends java.lang.Object> options)
Loads a pact file from either a File or a URL
source - a File or a URLoptions - to use when loading the pact