Class ReportingClientHook
- java.lang.Object
- 
- com.inductiveautomation.vision.api.client.AbstractClientModuleHook
- 
- com.inductiveautomation.reporting.client.ReportingClientHook
 
 
- 
- All Implemented Interfaces:
- ClientModuleHook
 
 public class ReportingClientHook extends AbstractClientModuleHook 
- 
- 
Constructor SummaryConstructors Constructor Description ReportingClientHook()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComponent(ILicenseAwareComponent component)voidconfigureDeserializer(XMLDeserializer deserializer)Called when an XMLDeserializer is created.voidinitializeScriptManager(ScriptManager manager)Initialize a newly-instantiated script manager.voidnotifyActivationStateChanged(LicenseState licenseState)Notifies this client module that its license state has changed.voidremoveComponent(ILicenseAwareComponent component)protected voidsetupRM14()voidshutdown()Called when the module is shut down.voidstartup(ClientContext context, LicenseState activationState)The main entrypoint for the module hook.- 
Methods inherited from class com.inductiveautomation.vision.api.client.AbstractClientModuleHookconfigureFunctionFactory, createPermissionKeys
 
- 
 
- 
- 
- 
Method Detail- 
configureDeserializerpublic void configureDeserializer(XMLDeserializer deserializer) Description copied from interface:ClientModuleHookCalled when an XMLDeserializer is created. Gives the module a chance to add custom deserialization delegates to the deserializer.- Specified by:
- configureDeserializerin interface- ClientModuleHook
- Overrides:
- configureDeserializerin class- AbstractClientModuleHook
 
 - 
notifyActivationStateChangedpublic void notifyActivationStateChanged(LicenseState licenseState) Description copied from interface:ClientModuleHookNotifies this client module that its license state has changed. Note that if the trial mode expires, the entire client will automatically time out, so client modules don't typically need to worry about trial mode.- Specified by:
- notifyActivationStateChangedin interface- ClientModuleHook
- Overrides:
- notifyActivationStateChangedin class- AbstractClientModuleHook
 
 - 
shutdownpublic void shutdown() Description copied from interface:ClientModuleHookCalled when the module is shut down.- Specified by:
- shutdownin interface- ClientModuleHook
- Overrides:
- shutdownin class- AbstractClientModuleHook
 
 - 
startuppublic void startup(ClientContext context, LicenseState activationState) throws java.lang.Exception Description copied from interface:ClientModuleHookThe main entrypoint for the module hook. This will only be called once for a given project. If another project is ever opened,ClientModuleHook.shutdown()will be called and a new hook will be instantiated- Specified by:
- startupin interface- ClientModuleHook
- Overrides:
- startupin class- AbstractClientModuleHook
- Throws:
- java.lang.Exception- if the module was not able to be initialized for the given project.
 
 - 
setupRM14protected void setupRM14() 
 - 
addComponentpublic void addComponent(ILicenseAwareComponent component) 
 - 
removeComponentpublic void removeComponent(ILicenseAwareComponent component) 
 - 
initializeScriptManagerpublic void initializeScriptManager(ScriptManager manager) Description copied from interface:ClientModuleHookInitialize a newly-instantiated script manager. This will be called exactly once for any given ScriptManager instance. Usually this will involve callingScriptManager.addScriptModule(String, Object), which reflectively loads the public (instance and static) java functions from the given object into the scripting environment, at the provided path.- Specified by:
- initializeScriptManagerin interface- ClientModuleHook
- Overrides:
- initializeScriptManagerin class- AbstractClientModuleHook
 
 
- 
 
-