Interface LicenseChecker

All Known Implementing Classes:
PolymartLicenseChecker, SpigotLicenseChecker

public interface LicenseChecker
The license checker
  • Method Summary

    Modifier and Type
    Method
    Description
    Check the license
    Get the URL of the platform this checker refers to
    default boolean
    Check 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