Klasse LicenseKeyInfo
java.lang.Object
com.inet.report.config.LicenseKeyInfo
Class providing information about a license key.
- Seit:
- 8.0
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungLicenseKeyInfo(String licenseKey) Blocks for 2 seconds, then returns an object holding information about the license key given. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic final @Nonnull LicenseKeyInfoGet the current LicenseKeyInfo which show the state of the current licensefinal StringGet the error message if the license is invalidfinal StringReturns the licensee of the license.final com.inet.config.LicenseInfoFOR INTERNAL USE ONLY Get the underlying LicenseInfo.final StringReturns a text description of the licensefinal StringThe watermark textfinal booleanCheck if there is an expires date.final booleanisPlus()Returns whether or not the license is an i-net Clear Reports Plus license.final booleanisSite()Returns whether the license is a Site license or not.final booleanisValid()Returns whether the key is a valid license key or not.
-
Konstruktordetails
-
LicenseKeyInfo
Blocks for 2 seconds, then returns an object holding information about the license key given.- Parameter:
licenseKey- License Key to check, null the LicenseKeyInfo of the current license will be return- Löst aus:
RuntimeException- if a creation is impossible- Seit:
- 14.0
-
-
Methodendetails
-
getCurrent
Get the current LicenseKeyInfo which show the state of the current license- Gibt zurück:
- the current LicenseKeyInfo
- Seit:
- 15.0
-
isPlus
public final boolean isPlus()Returns whether or not the license is an i-net Clear Reports Plus license.- Gibt zurück:
- whether the license is an i-net Clear Reports Plus license
- Seit:
- 8.0
-
getLicenseText
Returns a text description of the license- Gibt zurück:
- text description of the license
- Seit:
- 8.0
-
getLicensee
Returns the licensee of the license. This is null for an invalid license.- Gibt zurück:
- licensee information
- Seit:
- 8.0
-
isValid
public final boolean isValid()Returns whether the key is a valid license key or not.- Gibt zurück:
- true if the key is a valid license key, false otherwise
- Seit:
- 8.0
-
getErrorMessage
Get the error message if the license is invalid- Gibt zurück:
- the error message or null
- Seit:
- 15.0
-
hasExpiredDate
public final boolean hasExpiredDate()Check if there is an expires date.- Gibt zurück:
- true, if there a date
- Seit:
- 15.0
-
getWaterMark
The watermark text- Gibt zurück:
- the watermark or null.
- Seit:
- 15.0
-
isSite
public final boolean isSite()Returns whether the license is a Site license or not.- Gibt zurück:
- true if the license is a Site license, false otherwise
- Seit:
- 8.0
-
getLicenseInfo
public final com.inet.config.LicenseInfo getLicenseInfo()FOR INTERNAL USE ONLY Get the underlying LicenseInfo.- Gibt zurück:
- the LicenseInfo
- Seit:
- 15.0
-