Added VersionInstaller#isValidVersion

This commit is contained in:
Mathias Wagner 2024-02-15 19:30:45 +01:00
parent ad6ef20643
commit f467fd5487
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -13,6 +13,14 @@ public interface VersionInstaller {
Logger LOG = new Logger(VersionInstaller.class);
OkHttpClient client = new OkHttpClient();
/**
* Checks if a specific version of a software is valid
* @param software the software
* @param version the version
* @return <code>true</code> if the version is valid
*/
boolean isValidVersion(String software, String version);
/**
* Installs a specific version of the minecraft server software
*