Class AbstractScriptingFunctions
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.script.AbstractScriptingFunctions
-
- Direct Known Subclasses:
PerspectiveScriptingFunctions,WorkstationScriptingFunctions
public abstract class AbstractScriptingFunctions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceAbstractScriptingFunctions.PageOperatorprotected static interfaceAbstractScriptingFunctions.SessionOperatorprotected static interfaceAbstractScriptingFunctions.ViewOperator
-
Constructor Summary
Constructors Constructor Description AbstractScriptingFunctions()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PerspectiveContextgetContext()protected InternalSessiongetSession(PyArgumentMap args)protected voidoperateOnPage(PyArgumentMap args, AbstractScriptingFunctions.PageOperator operation)protected voidoperateOnSession(PyArgumentMap args, AbstractScriptingFunctions.SessionOperator operation)protected voidoperateOnView(AbstractScriptingFunctions.ViewOperator operation)
-
-
-
Method Detail
-
operateOnView
protected void operateOnView(AbstractScriptingFunctions.ViewOperator operation) throws java.lang.Exception
- Throws:
java.lang.Exception
-
operateOnPage
protected void operateOnPage(PyArgumentMap args, AbstractScriptingFunctions.PageOperator operation) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSession
protected InternalSession getSession(PyArgumentMap args)
-
operateOnSession
protected void operateOnSession(PyArgumentMap args, AbstractScriptingFunctions.SessionOperator operation) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getContext
protected abstract PerspectiveContext getContext()
-
-