com.opensymphony.xwork.mock
Class MockResult

java.lang.Object
  extended by com.opensymphony.xwork.mock.MockResult
All Implemented Interfaces:
Result, Serializable

public class MockResult
extends Object
implements Result

Mock for a Result.

Version:
$Date: 2007-03-25 05:59:53 -0500 (Sun, 25 Mar 2007) $ $Id: MockResult.java 1392 2007-03-25 10:59:53Z rainerh $
Author:
Mike, Rainer Hermanns
See Also:
Serialized Form

Field Summary
static Object DEFAULT_PARAM
           
 
Constructor Summary
MockResult()
           
 
Method Summary
 boolean equals(Object o)
           
 void execute(ActionInvocation invocation)
          Represents a generic interface for all action execution results, whether that be displaying a webpage, generating an email, sending a JMS message, etc.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PARAM

public static final Object DEFAULT_PARAM
Constructor Detail

MockResult

public MockResult()
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

execute

public void execute(ActionInvocation invocation)
             throws Exception
Description copied from interface: Result
Represents a generic interface for all action execution results, whether that be displaying a webpage, generating an email, sending a JMS message, etc.

Specified by:
execute in interface Result
Throws:
Exception

hashCode

public int hashCode()
Overrides:
hashCode in class Object

WebWork Project Page