Class StepLicenseManager


  • public class StepLicenseManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StepLicenseManager​(java.io.File licenseFile, java.lang.String licenseServerUrl)  
    • Constructor Detail

      • StepLicenseManager

        public StepLicenseManager​(java.io.File licenseFile,
                                  java.lang.String licenseServerUrl)
                           throws ch.exense.licensing.LicensingException
        Throws:
        ch.exense.licensing.LicensingException
    • Method Detail

      • checkModule

        public boolean checkModule​(java.lang.String module)
      • checkCurrentUserLimit

        public void checkCurrentUserLimit​(step.core.access.UserAccessor userAccessor)
                                   throws ch.exense.licensing.LicensingException
        Throws:
        ch.exense.licensing.LicensingException
      • checkUserLimitForProjectedNumber

        public void checkUserLimitForProjectedNumber​(step.core.access.UserAccessor userAccessor,
                                                     int additionalNumber)
                                              throws ch.exense.licensing.LicensingException
        Throws:
        ch.exense.licensing.LicensingException