Class LicenseDetailsImpl
- java.lang.Object
-
- com.inductiveautomation.ignition.common.licensing.LicenseDetailsImpl
-
- All Implemented Interfaces:
LicenseDetails
,java.io.Serializable
- Direct Known Subclasses:
ModuleLicenseImpl
public class LicenseDetailsImpl extends java.lang.Object implements LicenseDetails
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.licensing.LicenseDetails
DETAIL_KEY_EDITION, DETAIL_KEY_EXPIRATION, DETAIL_KEY_MIN_BUILD, REDUNDANT_BACKUP
-
-
Constructor Summary
Constructors Constructor Description LicenseDetailsImpl(int version, java.util.List<LicenseRestriction> restrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getEdgePlugins()
java.lang.String
getLicenseDetail(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 listint
getVersion()
The major version number that this license is good for
-
-
-
Constructor Detail
-
LicenseDetailsImpl
public LicenseDetailsImpl(int version, java.util.List<LicenseRestriction> restrictions)
-
-
Method Detail
-
getLicenseDetail
public java.lang.String getLicenseDetail(java.lang.String key)
Description copied from interface:LicenseDetails
The value of the LicenseRestriction with the given name.- Specified by:
getLicenseDetail
in interfaceLicenseDetails
-
getLicenseDetails
public java.util.List<LicenseRestriction> 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
-
getEdgePlugins
public java.lang.String getEdgePlugins()
- Specified by:
getEdgePlugins
in interfaceLicenseDetails
- Returns:
- Non-null comma separated string with licensed plugins like edge-compute
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-