Class ExtensionFunctionImpl
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
-
- com.inductiveautomation.perspective.gateway.model.ExtensionFunctionImpl
-
- All Implemented Interfaces:
ExtensionFunction
public class ExtensionFunctionImpl extends ScriptFunctionHelper implements ExtensionFunction
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
signature
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PerspectiveElementgetComponent()<T> Tinvoke(java.lang.Class<T> returnType, T defaultValue, java.lang.Object... args)protected voidlogWarn(java.lang.String message, java.lang.Throwable error)voidshutdown()voidstartup()-
Methods inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
getDescription, getLog, invoke, onScriptLibraryChange, py2qualified
-
-
-
-
Method Detail
-
getComponent
protected PerspectiveElement getComponent()
- Specified by:
getComponentin classScriptFunctionHelper
-
startup
public void startup()
-
shutdown
public void shutdown()
-
invoke
@Nullable public <T> T invoke(java.lang.Class<T> returnType, T defaultValue, java.lang.Object... args)- Specified by:
invokein interfaceExtensionFunction
-
logWarn
protected void logWarn(java.lang.String message, java.lang.Throwable error)- Overrides:
logWarnin classScriptFunctionHelper
-
-