pnuts.lang
Interface Executable
- All Known Implementing Classes:
- CachedPnutsImpl, CachedScript, Compiler, CompilerPnutsImpl, DynamicRuntime, Function, ImplementationAdapter, init, JAASPnutsImpl, ModuleBase, Pnuts, PnutsFunction, PnutsImpl, PnutsImplAdapter, PnutsInterpreter, Runtime, SecurePnutsImpl, VisualDebuggerModel
public interface Executable
Common interface for executable objects
Objects that represents parsed/compiled scripts implement this interface, so
that they can be executed by calling run(Context) method.
Method Summary |
java.lang.Object |
run(Context context)
Executes the executable object; |
run
java.lang.Object run(Context context)
- Executes the executable object;
- Parameters:
context
- the context in which the script is executed
- Returns:
- the result of the execution