Class ScriptAction
java.lang.Object
com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
com.inductiveautomation.perspective.gateway.action.ScriptAction
- All Implemented Interfaces:
Action
Action which runs a python script when an event occurs.
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
signature -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
getSecurityLevels, invoke, invoke, logWarn, onScriptLibraryChange, py2qualified
-
Field Details
-
SCRIPT_KEY
- See Also:
-
FACTORY
-
-
Constructor Details
-
ScriptAction
-
-
Method Details
-
startup
public void startup() -
shutdown
public void shutdown() -
getLog
- Overrides:
getLogin classScriptFunctionHelper
-
getDescription
Description copied from class:ScriptFunctionHelperDescribe the location/context of this script. Used for error messages- Overrides:
getDescriptionin classScriptFunctionHelper
-
getTagReferencePath
- Specified by:
getTagReferencePathin classScriptFunctionHelper
-
getComponent
- Specified by:
getComponentin classScriptFunctionHelper
-
runAction
public void runAction(org.python.core.PyObject event)
-