Class License

Deprecated in 7.1.

Constructors

License()

Deprecated in 7.1.

Declaration

License

License(String,String)

Deprecated in 7.1.

Declaration

License(String host, String license)

Parameters

Type Name Description
String host Hostname string"
String license License key."

Type Description
License License object.

Methods

getInfo()

Deprecated in 7.1.

Gets info about license key. Checks if its legal and print hostname and modules.

Declaration

String getInfo()

Returns

Type Description
String

getReasonInvalid()

Deprecated in 7.1.

Checks if the license key is valid and returns the reason as a string.

Declaration

String getReasonInvalid()

Returns

Type Description
String Reason why not valid or null string if valid.

getValue(String)

Deprecated in 7.1.

Extracts a value from the license key.

Declaration

String getValue(String name)

Parameters

Type Name Description
String name Name of the value to extract.

Returns

Type Description
String

legalKey()

Deprecated in 7.1.

Determines if a license key is legal or not.

Declaration

Bool legalKey()

Returns

Type Description
Bool True if the key is legal.

toParser(Parser)

Deprecated in 7.1.

Fills a Parser object with License values.

Declaration

toParser(Parser parser)

Parameters

Type Name Description
Parser parser The Parser instance to populate with values.

Returns

Type Description
Void