Class PropertyChangeScript
java.lang.Object
com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
com.inductiveautomation.perspective.gateway.script.SessionScriptFunctionHelper
com.inductiveautomation.perspective.gateway.model.PropertyChangeScript
-
Field Summary
Fields inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
signature
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyChangeScript
(PropertyKey target, PropertyChangeScriptConfig config, org.python.core.PyObject previousValue, LoggerEx log) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Describe the location/context of this script.protected LoggerEx
getLog()
protected PerspectiveTagReferenceLocation
void
shutdown()
void
startup
(PerspectiveElement component) Subscribes to the target property.Methods inherited from class com.inductiveautomation.perspective.gateway.script.SessionScriptFunctionHelper
execute, getScriptManager, getSecurityLevels, logWarn
Methods inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
invoke, invoke, onScriptLibraryChange, py2qualified
-
Constructor Details
-
PropertyChangeScript
public PropertyChangeScript(PropertyKey target, PropertyChangeScriptConfig config, org.python.core.PyObject previousValue, LoggerEx log)
-
-
Method Details
-
getLog
- Overrides:
getLog
in classSessionScriptFunctionHelper
-
getComponent
- Specified by:
getComponent
in classSessionScriptFunctionHelper
-
getDescription
Description copied from class:ScriptFunctionHelper
Describe the location/context of this script. Used for error messages- Overrides:
getDescription
in classSessionScriptFunctionHelper
-
getTagReferencePath
- Specified by:
getTagReferencePath
in classScriptFunctionHelper
-
startup
Subscribes to the target property.- Throws:
Exception
-
shutdown
public void shutdown()
-