A license. More...
Public Member Functions | |
boolean | check (fm.liveswitch.Holder< String > message) |
Checks if the license is valid for this product. More... | |
String | getAccountId () |
Gets the account identifier. More... | |
String | getContactEmailAddress () |
Gets the contact email address. More... | |
String | getContactName () |
Gets the contact name. More... | |
String | getContactPhoneNumber () |
Gets the contact phone number. More... | |
fm.liveswitch.NullableInteger | getCoreCount () |
Gets the core count. More... | |
String | getId () |
Gets the license identifier. More... | |
boolean | getIsTrial () |
Gets a value indicating whether this is a trial license. More... | |
boolean | getIsValid () |
Gets a value indicating whether this is a valid license. More... | |
String | getProductCode () |
Gets the product code. More... | |
String | getSiteAddress () |
Gets the site address. More... | |
String | getSiteName () |
Gets the site name. More... | |
java.util.Date | getValidFrom () |
Gets the "valid from" date. More... | |
java.util.Date | getValidTo () |
Gets the "valid to" date. More... | |
Static Public Member Functions | |
static void | checkKey () |
Gets a value indicating whether a valid key has been set. More... | |
static fm.liveswitch.License | getCurrent () |
Gets the current license. More... | |
static fm.liveswitch.License | parseKey (String key) |
Parses a license key. More... | |
static void | setKey (String key) |
Sets the license key. More... | |
A license.
boolean fm.liveswitch.License.check | ( | fm.liveswitch.Holder< String > | message | ) |
Checks if the license is valid for this product.
message |
|
static |
Gets a value indicating whether a valid key has been set.
String fm.liveswitch.License.getAccountId | ( | ) |
Gets the account identifier.
String fm.liveswitch.License.getContactEmailAddress | ( | ) |
Gets the contact email address.
String fm.liveswitch.License.getContactName | ( | ) |
Gets the contact name.
String fm.liveswitch.License.getContactPhoneNumber | ( | ) |
Gets the contact phone number.
fm.liveswitch.NullableInteger fm.liveswitch.License.getCoreCount | ( | ) |
Gets the core count.
|
static |
Gets the current license.
String fm.liveswitch.License.getId | ( | ) |
Gets the license identifier.
boolean fm.liveswitch.License.getIsTrial | ( | ) |
Gets a value indicating whether this is a trial license.
boolean fm.liveswitch.License.getIsValid | ( | ) |
Gets a value indicating whether this is a valid license.
String fm.liveswitch.License.getProductCode | ( | ) |
Gets the product code.
String fm.liveswitch.License.getSiteAddress | ( | ) |
Gets the site address.
String fm.liveswitch.License.getSiteName | ( | ) |
Gets the site name.
java.util.Date fm.liveswitch.License.getValidFrom | ( | ) |
Gets the "valid from" date.
java.util.Date fm.liveswitch.License.getValidTo | ( | ) |
Gets the "valid to" date.
|
static |
Parses a license key.
key | The key. |
|
static |
Sets the license key.
key | The license key. |