Package me.hsgamer.hscore.license.common
Interface LicenseChecker
- All Known Implementing Classes:
PolymartLicenseChecker,SpigotLicenseChecker
public interface LicenseChecker
The license checker
-
Method Summary
Modifier and TypeMethodDescriptionCheck the licensegetUrl()Get the URL of the platform this checker refers todefault booleanCheck if the checker is available
-
Method Details
-
isAvailable
default boolean isAvailable()Check if the checker is available- Returns:
- true if it's available
-
checkLicense
LicenseResult checkLicense()Check the license- Returns:
- the result
-
getUrl
String getUrl()Get the URL of the platform this checker refers to- Returns:
- the URL
-