public class ContractDownloader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContractDownloader.InclusionProperties
Holder for updated inclusion properties, which are calculated after jar with
contracts was downloaded / unpacked.
|
Constructor and Description |
---|
ContractDownloader(StubDownloader stubDownloader,
StubConfiguration contractsJarStubConfiguration,
String contractsPath,
String projectGroupId,
String projectArtifactId,
String projectVersion) |
Modifier and Type | Method and Description |
---|---|
ContractDownloader.InclusionProperties |
createNewInclusionProperties(File contractsDirectory)
After JAR with all the contracts is downloaded and unpacked - we need to get new
inclusion pattern for those contracts.
|
File |
unpackAndDownloadContracts()
Downloads JAR containing all the contracts.
|
public ContractDownloader(StubDownloader stubDownloader, StubConfiguration contractsJarStubConfiguration, String contractsPath, String projectGroupId, String projectArtifactId, String projectVersion)
public File unpackAndDownloadContracts()
public ContractDownloader.InclusionProperties createNewInclusionProperties(File contractsDirectory)
contractsDirectory
- - location of the unpacked downloaded stubs.Copyright © 2016–2021 Spring. All rights reserved.