public final class FlexGanttLicenseManager extends Object
setLicenseKey(String)
. If no license key has been set then
FlexGantt will enter trial / evaluation mode.Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_LICENSEE
Represents the "Licensee" feature.
|
static String |
FEATURE_RUNTIME
Represents the "Runtime" feature.
|
static String |
FEATURE_VENDOR
Represents the "Vendor" feature.
|
static String |
FEATURE_VERSION
Represents the "Version" feature.
|
Modifier and Type | Method and Description |
---|---|
static String |
getLicensee()
Returns the name of the licensee.
|
static String |
getPublicKey()
Returns the public key used for decoding the license key.
|
static String |
getVendor()
Returns the name of the vendor (e.g.
|
static String |
getVersion()
Returns the product version (e.g. "1", "1", ...).
|
static boolean |
isDevelopmentLicense()
Determines if the product uses a development license.
|
static boolean |
isRuntimeLicense()
Determines if the product uses a runtime license.
|
static boolean |
isTrialLicense()
Determines if the product is run as a trial.
|
static void |
setLicenseKey(String key)
Sets the license key used for FlexGantt.
|
public static final String FEATURE_LICENSEE
public static final String FEATURE_VENDOR
public static final String FEATURE_RUNTIME
public static final String FEATURE_VERSION
public static void setLicenseKey(String key)
key
- the license keyIllegalStateException
- if the license key gets set more than oncepublic static boolean isTrialLicense()
public static boolean isRuntimeLicense()
public static boolean isDevelopmentLicense()
public static String getPublicKey()
public static String getLicensee()
public static String getVendor()
public static String getVersion()
Version.getVersion()
.Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.