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:
getLog
in classScriptFunctionHelper
-
getDescription
Description copied from class:ScriptFunctionHelper
Describe the location/context of this script. Used for error messages- Overrides:
getDescription
in classScriptFunctionHelper
-
getTagReferencePath
- Specified by:
getTagReferencePath
in classScriptFunctionHelper
-
getComponent
- Specified by:
getComponent
in classScriptFunctionHelper
-
runAction
public void runAction(org.python.core.PyObject event)
-