public class NoOpValidator extends Object implements ILicenseKeyValidator
ILicenseKeyValidator| Constructor and Description |
|---|
NoOpValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLicense(LicenseKeyProduct product) |
Map<String,String> |
getLicenseConfiguration()
Gets the license configuration.
|
String[] |
getLicenseeInfo() |
String[] |
getProductInfo(String product) |
String[] |
getProducts() |
void |
loadLicense(Element licenseKeyRoot)
Load and Validate the license file represented by passed DOM tree.
|
void |
unloadLicense() |
public void loadLicense(Element licenseKeyRoot) throws LicenseKeyException
ILicenseKeyValidatorloadLicense in interface ILicenseKeyValidatorlicenseKeyRoot - root node of the license key file representationLicenseKeyExceptionpublic void checkLicense(LicenseKeyProduct product) throws LicenseKeyException
checkLicense in interface ILicenseKeyValidatorLicenseKeyExceptionpublic void unloadLicense()
unloadLicense in interface ILicenseKeyValidatorpublic String[] getLicenseeInfo()
getLicenseeInfo in interface ILicenseKeyValidatorpublic String[] getProducts() throws LicenseKeyException
getProducts in interface ILicenseKeyValidatorLicenseKeyExceptionpublic String[] getProductInfo(String product) throws LicenseKeyException
getProductInfo in interface ILicenseKeyValidatorLicenseKeyExceptionpublic Map<String,String> getLicenseConfiguration() throws LicenseKeyException
ILicenseKeyValidatorgetLicenseConfiguration in interface ILicenseKeyValidatorLicenseKeyExceptionCopyright © 2020. All rights reserved.