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 interface
AbstractScriptingFunctions.PageOperator
protected static interface
AbstractScriptingFunctions.SessionOperator
protected static interface
AbstractScriptingFunctions.ViewOperator
-
Constructor Summary
Constructors Constructor Description AbstractScriptingFunctions()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PerspectiveContext
getContext()
protected InternalSession
getSession(PyArgumentMap args)
protected void
operateOnPage(PyArgumentMap args, AbstractScriptingFunctions.PageOperator operation)
protected void
operateOnSession(PyArgumentMap args, AbstractScriptingFunctions.SessionOperator operation)
protected void
operateOnView(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()
-
-