Class EdgeHistoryLicense
java.lang.Object
com.inductiveautomation.historian.gateway.license.EdgeHistoryLicense
- All Implemented Interfaces:
LicenseStateUpdateListener
,EventListener
-
Method Summary
Modifier and TypeMethodDescriptionstatic EdgeHistoryLicense
create
(GatewayContext context) I prefer this static creation in order to avoid implying the adding of listeners in the constructor.boolean
isActive()
static boolean
isActive
(GatewayContext context) Returns whether tag history is available and not demo expired.boolean
static boolean
isUnlimited
(GatewayContext context) We allow unlimited local history with any kind of tag historian license installed.void
The LicenseState for the module specified in the LicenseStateChangeEvent has been updated.protected void
void
shutdown()
void
startup()
-
Method Details
-
create
I prefer this static creation in order to avoid implying the adding of listeners in the constructor. That is, it balances shutdown() -
startup
public void startup() -
shutdown
public void shutdown() -
isActive
public boolean isActive() -
isUnlimited
public boolean isUnlimited() -
licenseStateUpdated
Description copied from interface:LicenseStateUpdateListener
The LicenseState for the module specified in the LicenseStateChangeEvent has been updated. Module id of empty-string represents the license state for the Ignition platform itself.- Specified by:
licenseStateUpdated
in interfaceLicenseStateUpdateListener
- Parameters:
e
- The LicenseStateUpdateEvent
-
refreshState
protected void refreshState() -
isActive
Returns whether tag history is available and not demo expired. -
isUnlimited
We allow unlimited local history with any kind of tag historian license installed.
-