org.codehaus.waffle.controller
Interface ScriptedController


public interface ScriptedController

Author:
Mauro Talevi

Method Summary
 java.lang.Object execute()
          Invoke the method on the script object instance
 java.lang.Object getScriptObject()
          Returns the underlying script object
 void setMethodName(java.lang.String methodName)
          Sets the method name of the controller to be executed
 

Method Detail

execute

java.lang.Object execute()
Invoke the method on the script object instance

Returns:
the result from the method invocation.

getScriptObject

java.lang.Object getScriptObject()
Returns the underlying script object

Returns:
The script Object

setMethodName

void setMethodName(java.lang.String methodName)
Sets the method name of the controller to be executed

Parameters:
methodName - the method name


Copyright © 2008. All Rights Reserved.