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, 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.ScriptFunctionHelper
getSecurityLevels, invoke, invoke, logWarn, onScriptLibraryChange, py2qualified
-
Constructor Details
-
PropertyChangeScript
-
-
Method Details
-
getLog
- Overrides:
getLog
in classScriptFunctionHelper
-
getComponent
- Specified by:
getComponent
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
-
startup
Subscribes to the target property.- Throws:
Exception
-
shutdown
public void shutdown()
-