Klasse LicenseKeyInfo

java.lang.Object
com.inet.report.config.LicenseKeyInfo

public final class LicenseKeyInfo extends Object
Class providing information about a license key.
Seit:
8.0
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    LicenseKeyInfo(String licenseKey)
    Blocks for 2 seconds, then returns an object holding information about the license key given.
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    static final @Nonnull LicenseKeyInfo
    Get the current LicenseKeyInfo which show the state of the current license
    final String
    Get the error message if the license is invalid
    final String
    Returns the licensee of the license.
    final com.inet.config.LicenseInfo
    FOR INTERNAL USE ONLY Get the underlying LicenseInfo.
    final String
    Returns a text description of the license
    final String
    The watermark text
    final boolean
    Check if there is an expires date.
    final boolean
    Returns whether or not the license is an i-net Clear Reports Plus license.
    final boolean
    Returns whether the license is a Site license or not.
    final boolean
    Returns whether the key is a valid license key or not.

    Von Klasse geerbte Methoden Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • LicenseKeyInfo

      public LicenseKeyInfo(String licenseKey)
      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

      public static final @Nonnull LicenseKeyInfo 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

      public final String getLicenseText()
      Returns a text description of the license
      Gibt zurück:
      text description of the license
      Seit:
      8.0
    • getLicensee

      public final String 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

      public final String 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

      public final String 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