public static class DownloadConfig.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DownloadConfig |
build() |
DownloadConfig.Builder |
withBaseUrl(String baseUrl)
base url override that defaults to "https://dev.mysql.com/get/Downloads" where actual mysql binary path must conform to
what mysql provides (or otherwise is stored in ~/.embedmysql) - ex.
|
DownloadConfig.Builder |
withCacheDir(String cacheDir)
Download cache location override that by default is set to '~/.embedmysql'.
|
DownloadConfig.Builder |
withDownloadCacheDir(String downloadCacheDir)
Deprecated.
in favor of withCacheDir
|
DownloadConfig.Builder |
withProxy(de.flapdoodle.embed.process.config.store.IProxyFactory proxy) |
@Deprecated public DownloadConfig.Builder withDownloadCacheDir(String downloadCacheDir)
downloadCacheDir - custom pathpublic DownloadConfig.Builder withCacheDir(String cacheDir)
cacheDir - custom pathpublic DownloadConfig.Builder withBaseUrl(String baseUrl)
baseUrl - custom download urlpublic DownloadConfig.Builder withProxy(de.flapdoodle.embed.process.config.store.IProxyFactory proxy)
public DownloadConfig build()
Copyright © 2022. All rights reserved.