Class PolymartLicenseChecker

java.lang.Object
me.hsgamer.hscore.license.polymart.PolymartLicenseChecker
All Implemented Interfaces:
LicenseChecker

public class PolymartLicenseChecker extends Object implements LicenseChecker
The license checker for Polymart
  • Constructor Details

    • PolymartLicenseChecker

      public PolymartLicenseChecker(String resource, boolean isPaid, boolean isDeepCheck, PolymartLicenseFetcher fetcher)
      Create a new license checker
      Parameters:
      resource - the resource id
      isPaid - whether the resource is paid
      isDeepCheck - whether the checker should check the license deeply using Polymart API
      fetcher - the license fetcher
    • PolymartLicenseChecker

      public PolymartLicenseChecker(String resource, boolean isPaid, boolean isDeepCheck)
      Create a new license checker with the default fetcher
      Parameters:
      resource - the resource id
      isPaid - whether the resource is paid
      isDeepCheck - whether the checker should check the license deeply using Polymart API
  • Method Details