Class LicenseDetailsImpl
java.lang.Object
com.inductiveautomation.ignition.common.licensing.LicenseDetailsImpl
- All Implemented Interfaces:
LicenseDetails
,ModuleLicense
,Serializable
- See Also:
-
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.common.licensing.LicenseDetails
DETAIL_KEY_EDITION, DETAIL_KEY_EXPIRATION, DETAIL_KEY_MIN_BUILD, DETAIL_KEY_PLATFORM_BUNDLED, REDUNDANT_BACKUP
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseDetailsImpl
(int version, List<LicenseRestriction> restrictions) LicenseDetailsImpl
(String id, int version) LicenseDetailsImpl
(String id, int version, List<LicenseRestriction> restrictions) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getLicenseDetail
(String key) The value of the LicenseRestriction with the given name.Returns all of the license details as a listGet the module id this license applies to.int
The major version number that this license is good forint
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.licensing.LicenseDetails
checkFlag, getExpirationDate, isPlatformDetails
-
Constructor Details
-
LicenseDetailsImpl
-
LicenseDetailsImpl
-
LicenseDetailsImpl
-
-
Method Details
-
getModuleId
Description copied from interface:LicenseDetails
Get the module id this license applies to.- Specified by:
getModuleId
in interfaceLicenseDetails
- Returns:
- the module id this license applies to.
-
getLicenseDetail
Description copied from interface:LicenseDetails
The value of the LicenseRestriction with the given name.- Specified by:
getLicenseDetail
in interfaceLicenseDetails
- Returns:
- null if no license restriction with name==key is found.
-
getLicenseDetails
Description copied from interface:LicenseDetails
Returns all of the license details as a list- Specified by:
getLicenseDetails
in interfaceLicenseDetails
-
getVersion
public int getVersion()Description copied from interface:LicenseDetails
The major version number that this license is good for- Specified by:
getVersion
in interfaceLicenseDetails
-
equals
-
hashCode
public int hashCode() -
toString
-