Package me.deecaad.core.compatibility
Class CompatibilitySetup
java.lang.Object
me.deecaad.core.compatibility.CompatibilitySetup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetCompatibleVersion(Class<T> interfaceClazz, String directory) Example return values:
-
Constructor Details
-
CompatibilitySetup
public CompatibilitySetup()
-
-
Method Details
-
getVersionAsString
Example return values:v1_8_R2 v1_11_R1 v1_13_R3
- Returns:
- the server version as string
-
getCompatibleVersion
- Parameters:
interfaceClazz- the compatibility interface typedirectory- the directory in code where compatibility should exist- Returns:
- the compatible version from given directory
-