Tea Java Runtime API
Version 3.1.0

com.pdmfc.tea.runtime
Interface SObjFunction

All Known Implementing Classes:
SLambdaFunction, SLambdaFunctionVarArg, SJavaFunction, STosObj, STosMethodVarArg, STosMethod, SEmptyMethod, SMethodLoader, SJavaMethod

public interface SObjFunction

Tea commands are represented by objects derived from this class.


Method Summary
 java.lang.Object exec(SObjFunction func, SContext context, java.lang.Object[] args)
          Executes the command.
 

Method Detail

exec

public java.lang.Object exec(SObjFunction func,
                             SContext context,
                             java.lang.Object[] args)
                      throws STeaException
Executes the command.
Parameters:
func - The SObjFunction that led to call this function. Most of the time is the same as the this object.
context - The context where the command should be executed.
args - Array with the arguments passed to the command.
Returns:
An Object object.
Throws:
STeaException - Thrown if there were problems executing the command.

Tea Java Runtime API
Version 3.1.0

© 2002 PDM&FC, All Rights Reserved.