Class LicenseDetailsImpl
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.licensing.LicenseDetailsImpl
 
- 
- All Implemented Interfaces:
- LicenseDetails,- ModuleLicense,- java.io.Serializable
 
 public class LicenseDetailsImpl extends java.lang.Object implements ModuleLicense - See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.ignition.common.licensing.LicenseDetailsDETAIL_KEY_EDITION, DETAIL_KEY_EXPIRATION, DETAIL_KEY_MIN_BUILD, DETAIL_KEY_PLATFORM_BUNDLED, REDUNDANT_BACKUP
 
- 
 - 
Constructor SummaryConstructors Constructor Description LicenseDetailsImpl(int version, java.util.List<LicenseRestriction> restrictions)LicenseDetailsImpl(java.lang.String id, int version)LicenseDetailsImpl(java.lang.String id, int version, java.util.List<LicenseRestriction> restrictions)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetLicenseDetail(java.lang.String key)The value of the LicenseRestriction with the given name.java.util.List<LicenseRestriction>getLicenseDetails()Returns all of the license details as a listjava.lang.StringgetModuleId()Get the module id this license applies to.intgetVersion()The major version number that this license is good forinthashCode()java.lang.StringtoString()- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.licensing.LicenseDetailscheckFlag, getExpirationDate, isPlatformDetails
 
- 
 
- 
- 
- 
Constructor Detail- 
LicenseDetailsImplpublic LicenseDetailsImpl(int version, java.util.List<LicenseRestriction> restrictions)
 - 
LicenseDetailsImplpublic LicenseDetailsImpl(java.lang.String id, int version)
 - 
LicenseDetailsImplpublic LicenseDetailsImpl(java.lang.String id, int version, java.util.List<LicenseRestriction> restrictions)
 
- 
 - 
Method Detail- 
getModuleIdpublic java.lang.String getModuleId() Description copied from interface:LicenseDetailsGet the module id this license applies to.- Specified by:
- getModuleIdin interface- LicenseDetails
- Returns:
- the module id this license applies to.
 
 - 
getLicenseDetail@Nullable public java.lang.String getLicenseDetail(java.lang.String key) Description copied from interface:LicenseDetailsThe value of the LicenseRestriction with the given name.- Specified by:
- getLicenseDetailin interface- LicenseDetails
- Returns:
- null if no license restriction with name==key is found.
 
 - 
getLicenseDetailspublic java.util.List<LicenseRestriction> getLicenseDetails() Description copied from interface:LicenseDetailsReturns all of the license details as a list- Specified by:
- getLicenseDetailsin interface- LicenseDetails
 
 - 
getVersionpublic int getVersion() Description copied from interface:LicenseDetailsThe major version number that this license is good for- Specified by:
- getVersionin interface- LicenseDetails
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-