Added VersionInstaller#isValidVersion
This commit is contained in:
parent
ad6ef20643
commit
f467fd5487
@ -13,6 +13,14 @@ public interface VersionInstaller {
|
|||||||
Logger LOG = new Logger(VersionInstaller.class);
|
Logger LOG = new Logger(VersionInstaller.class);
|
||||||
OkHttpClient client = new OkHttpClient();
|
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
|
* Installs a specific version of the minecraft server software
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user