public final class CvalChecker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CvalChecker.CvalInfo |
static class |
CvalChecker.CvalServer |
static class |
CvalChecker.InvalidCvalException
Exception thrown when the user does not have a valid cval license.
|
static class |
CvalChecker.UnreachableCvalServerException
Exception thrown when the license server is unreachable.
|
| Constructor and Description |
|---|
CvalChecker()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CvalChecker.CvalInfo |
validateProduct(String productName,
String productVersion,
String productTitle)
Validate whether there is a valid license key for a product.
|
public static final String LINE
public CvalChecker.CvalInfo validateProduct(String productName, String productVersion, String productTitle) throws CvalChecker.InvalidCvalException, CvalChecker.UnreachableCvalServerException
productName - for example vaadin-touchkitproductVersion - for instance 4.0.1CvalChecker.InvalidCvalException - when there is no a valid license for the productCvalChecker.UnreachableCvalServerException - when we have license key but server is unreachableCopyright © 2018 Vaadin Ltd. All rights reserved.