Interface ScriptFunction

All Known Implementing Classes:
ScriptManager.ScriptFunctionImpl

public interface ScriptFunction
This interface represents a compiled scripting function that can be executed multiple times. It is executed by the ScriptManager that created it. Created by colby.clegg on 10/23/2014.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.python.core.PyObject
    invoke(org.python.core.PyObject... arguments)
    Executes the compiled function against the source ScriptManger.
    org.python.core.PyObject
    invoke(org.python.core.PyObject[] arguments, String[] keywords)
     
  • Method Details

    • invoke

      org.python.core.PyObject invoke(org.python.core.PyObject... arguments) throws JythonExecException
      Executes the compiled function against the source ScriptManger. Depending on the function definition, the return may be null.
      Throws:
      JythonExecException
    • invoke

      org.python.core.PyObject invoke(org.python.core.PyObject[] arguments, String[] keywords) throws JythonExecException
      Throws:
      JythonExecException