Class SFCClientHook
java.lang.Object
com.inductiveautomation.vision.api.client.AbstractClientModuleHook
com.inductiveautomation.sfc.client.SFCClientHook
- All Implemented Interfaces:
- ClientStepRegistryProvider,- ClientModuleHook
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinitializeScriptManager(ScriptManager manager) Initialize a newly-instantiated script manager.voidstartup(ClientContext context, LicenseState activationState) The main entrypoint for the module hook.Methods inherited from class com.inductiveautomation.vision.api.client.AbstractClientModuleHookconfigureDeserializer, configureFunctionFactory, createPermissionKeys, notifyActivationStateChanged, shutdown
- 
Constructor Details- 
SFCClientHookpublic SFCClientHook()
 
- 
- 
Method Details- 
startupDescription 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:
- Exception- if the module was not able to be initialized for the given project.
 
- 
getStepRegistry- Specified by:
- getStepRegistryin interface- ClientStepRegistryProvider
 
- 
initializeScriptManagerDescription 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
 
 
-