org.codehaus.waffle.action
Class MethodDefinition

java.lang.Object
  extended by org.codehaus.waffle.action.MethodDefinition

public class MethodDefinition
extends java.lang.Object

Holder for the method and values to be executed.

Author:
Michael Ward

Constructor Summary
MethodDefinition(java.lang.reflect.Method method)
           
 
Method Summary
 void addMethodArgument(java.lang.Object argument)
          Allows resolved argument to be added.
 java.lang.reflect.Method getMethod()
          The method that is to be invoked on the controller
 java.util.List<java.lang.Object> getMethodArguments()
          The argument values that will be used to satisfy the invocation of the action method
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodDefinition

public MethodDefinition(java.lang.reflect.Method method)
Method Detail

getMethod

public java.lang.reflect.Method getMethod()
The method that is to be invoked on the controller


getMethodArguments

public java.util.List<java.lang.Object> getMethodArguments()
The argument values that will be used to satisfy the invocation of the action method


addMethodArgument

public void addMethodArgument(java.lang.Object argument)
Allows resolved argument to be added. Arguments should be added in order.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.