Class ValidationParameters

  • public class ValidationParameters
    extends Object
    • Constructor Detail

      • ValidationParameters

        public ValidationParameters()
    • Method Detail

      • setProductNumber

        public void setProductNumber​(String productNumber)
        Sets the target product
        productNumber - optional productNumber, must be provided in case licensee auto-create is enabled
      • getProductNumber

        public String getProductNumber()
      • getLicenseeProperties

        public Map<String,​String> getLicenseeProperties()
      • setLicenseeProperty

        public void setLicenseeProperty​(String key,
                                        String value)
      • setLicenseeName

        public void setLicenseeName​(String licenseeName)
        Sets the name for the new licensee
        licenseeName - optional human-readable licensee name in case licensee will be auto-created. This parameter must not be the name, but can be used to store any other useful string information with new licensees, up to 1000 characters.
      • getLicenseeName

        public String getLicenseeName()
      • setLicenseeSecret

        public void setLicenseeSecret​(String licenseeSecret)
        Sets the licensee secret
        licenseeSecret - licensee secret stored on the client side. Refer to Licensee Secret documentation for details.
      • getLicenseeSecret

        public String getLicenseeSecret()
      • setDryRun

        public void setDryRun​(Boolean dryRun)
        Sets the "dry run" mode
        dryRun - if "true", validation will be executed in "dry run" mode, i.e. no modifications to any licenses.
      • isDryRun

        public Boolean isDryRun()
      • setForOfflineUse

        public void setForOfflineUse​(Boolean forOfflineUse)
        Indicates, that the validation response is intended the offline use
        forOfflineUse - if "true", validation response will be extended with data required for the offline use
      • isForOfflineUse

        public Boolean isForOfflineUse()
      • getProductModuleValidationParameters

        public Map<String,​String> getProductModuleValidationParameters​(String productModuleNumber)
      • setProductModuleValidationParameters

        public void setProductModuleValidationParameters​(String productModuleNumber,
                                                         Map<String,​String> productModuleParameters)