Class SessionScriptFunctionHelper
java.lang.Object
com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
com.inductiveautomation.perspective.gateway.script.SessionScriptFunctionHelper
- Direct Known Subclasses:
ExtensionFunctionImpl,PropertyChangeScript,ScriptAction,SessionScriptRunner
-
Field Summary
Fields inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
signature -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSessionScriptFunctionHelper(String signature, String userCode) -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<org.python.core.PyObject>execute(ScriptFunction func, org.python.core.PyObject[] arguments, String[] keywords) protected abstract PerspectiveElementprotected StringDescribe the location/context of this script.protected LoggerExgetLog()protected ScriptManagerprotected com.google.common.collect.ImmutableCollection<SecurityLevelConfig>protected voidMethods inherited from class com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper
getTagReferencePath, invoke, invoke, onScriptLibraryChange, py2qualified
-
Constructor Details
-
SessionScriptFunctionHelper
- Parameters:
signature- The signature, which is the method name and arguments like "runMe(arg1, arg2)"userCode- The user's portion of the runnable code
-
-
Method Details
-
getComponent
-
getSecurityLevels
- Specified by:
getSecurityLevelsin classScriptFunctionHelper
-
getLog
- Specified by:
getLogin classScriptFunctionHelper
-
getScriptManager
- Specified by:
getScriptManagerin classScriptFunctionHelper
-
getDescription
Description copied from class:ScriptFunctionHelperDescribe the location/context of this script. Used for error messages- Specified by:
getDescriptionin classScriptFunctionHelper
-
logWarn
- Overrides:
logWarnin classScriptFunctionHelper
-
execute
protected Optional<org.python.core.PyObject> execute(ScriptFunction func, org.python.core.PyObject[] arguments, String[] keywords) - Specified by:
executein classScriptFunctionHelper
-