fm.liveswitch.License Class Reference

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...
 

Detailed Description

A license.

Member Function Documentation

◆ check()

boolean fm.liveswitch.License.check ( fm.liveswitch.Holder< String >  message)

Checks if the license is valid for this product.

Parameters
message

◆ checkKey()

static void fm.liveswitch.License.checkKey ( )
static

Gets a value indicating whether a valid key has been set.

◆ getAccountId()

String fm.liveswitch.License.getAccountId ( )

Gets the account identifier.

◆ getContactEmailAddress()

String fm.liveswitch.License.getContactEmailAddress ( )

Gets the contact email address.

◆ getContactName()

String fm.liveswitch.License.getContactName ( )

Gets the contact name.

◆ getContactPhoneNumber()

String fm.liveswitch.License.getContactPhoneNumber ( )

Gets the contact phone number.

◆ getCoreCount()

fm.liveswitch.NullableInteger fm.liveswitch.License.getCoreCount ( )

Gets the core count.

◆ getCurrent()

static fm.liveswitch.License fm.liveswitch.License.getCurrent ( )
static

Gets the current license.

◆ getId()

String fm.liveswitch.License.getId ( )

Gets the license identifier.

◆ getIsTrial()

boolean fm.liveswitch.License.getIsTrial ( )

Gets a value indicating whether this is a trial license.

◆ getIsValid()

boolean fm.liveswitch.License.getIsValid ( )

Gets a value indicating whether this is a valid license.

◆ getProductCode()

String fm.liveswitch.License.getProductCode ( )

Gets the product code.

◆ getSiteAddress()

String fm.liveswitch.License.getSiteAddress ( )

Gets the site address.

◆ getSiteName()

String fm.liveswitch.License.getSiteName ( )

Gets the site name.

◆ getValidFrom()

java.util.Date fm.liveswitch.License.getValidFrom ( )

Gets the "valid from" date.

◆ getValidTo()

java.util.Date fm.liveswitch.License.getValidTo ( )

Gets the "valid to" date.

◆ parseKey()

static fm.liveswitch.License fm.liveswitch.License.parseKey ( String  key)
static

Parses a license key.

Parameters
keyThe key.

◆ setKey()

static void fm.liveswitch.License.setKey ( String  key)
static

Sets the license key.

Parameters
keyThe license key.