Class PropertyChangeScript
java.lang.Object
com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
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 StringDescribe the location/context of this script.protected LoggerExgetLog()protected PerspectiveTagReferenceLocationvoidshutdown()voidstartup(PerspectiveElement component) Subscribes to the target property.Methods inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
getSecurityLevels, invoke, invoke, logWarn, onScriptLibraryChange, py2qualified
-
Constructor Details
-
PropertyChangeScript
public PropertyChangeScript(PropertyKey target, PropertyChangeScriptConfig config, org.python.core.PyObject previousValue, LoggerEx log)
-
-
Method Details
-
getLog
- Overrides:
getLogin classScriptFunctionHelper
-
getComponent
- Specified by:
getComponentin 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
-
startup
Subscribes to the target property.- Throws:
Exception
-
shutdown
public void shutdown()
-