| Package | Description |
|---|---|
| com.vaadin.pro.licensechecker |
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionKey |
LocalSubscriptionKey.get()
Gets the current subscription key, if found.
|
static SubscriptionKey |
LocalSubscriptionKey.getOrFail()
Gets the current subscription key or throws an exception if not
available.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<SubscriptionKey> |
LocalSubscriptionKey.fromString(String key)
Creates a new
SubscriptionKey based on the given string
representation. |
| Modifier and Type | Method and Description |
|---|---|
static void |
LicenseChecker.checkLicense(String productName,
String productVersion,
BuildType buildType,
java.util.function.Consumer<String> noKeyUrlHandler,
String machineId,
ProKey proKey,
SubscriptionKey subscriptionKey,
OfflineKey offlineKey)
Checks the license for the given pro key and product version.
|
static void |
LicenseChecker.checkLicenseAsync(String productName,
String productVersion,
BuildType buildType,
LicenseChecker.Callback callback,
java.util.function.Consumer<String> noKeyUrlHandler,
String machineId,
ProKey proKey,
SubscriptionKey subscriptionKey,
OfflineKey offlineKey)
Checks the license for the given pro key and product version in the
background and invokes the callback when done.
|
Copyright © 2017-2025. All Rights Reserved.