
ru.yandex.qatools.embed.postgresql.distribution.Version Maven / Gradle / Ivy
The newest version!
package ru.yandex.qatools.embed.postgresql.distribution;
import de.flapdoodle.embed.process.distribution.IVersion;
/**
* PostgreSQL Version enum
*/
public enum Version implements IVersion {
/**
* 11 for Mac OS X and Windows x86-64 only because EnterpriseDB reduced the
* supported platforms
* on their
* binary download site.
*/
V11_1("11.1-1"),
V10_6("10.6-1"),
V9_6_11("9.6.11-1"),
@Deprecated V9_5_15("9.5.15-1"),;
private final String specificVersion;
Version(String vName) {
this.specificVersion = vName;
}
@Override
public String asInDownloadPath() {
return specificVersion;
}
@Override
public String toString() {
return "Version{" + specificVersion + '}';
}
public enum Main implements IVersion {
@Deprecated V9_5(V9_5_15),
V9_6(V9_6_11),
V10(V10_6),
PRODUCTION(V10_6),
/**
* 11 for Mac OS X and Windows x86-64 only because EnterpriseDB reduced the
* supported platforms
* on their
* binary download site.
*/
V11(V11_1);
private final IVersion _latest;
Main(IVersion latest) {
_latest = latest;
}
@Override
public String asInDownloadPath() {
return _latest.asInDownloadPath();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy