com.mockrunner.mock.web
Class MockForwardConfig

java.lang.Object
  extended by org.apache.struts.config.BaseConfig
      extended by org.apache.struts.config.ForwardConfig
          extended by org.apache.struts.action.ActionForward
              extended by com.mockrunner.mock.web.MockForwardConfig
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MockActionForward

public class MockForwardConfig
extends org.apache.struts.action.ActionForward

Mock implementation of ForwardConfig.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.config.ForwardConfig
catalog, command, extensionProcessed, inherit
 
Fields inherited from class org.apache.struts.config.BaseConfig
configured
 
Constructor Summary
MockForwardConfig()
           
MockForwardConfig(java.lang.String name, java.lang.String path, boolean redirect)
           
MockForwardConfig(java.lang.String name, java.lang.String path, boolean redirect, boolean contextRelative)
           
MockForwardConfig(java.lang.String name, java.lang.String path, boolean redirect, java.lang.String module)
           
 
Method Summary
 boolean getContextRelative()
           
 java.lang.String getModule()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 boolean getRedirect()
           
 void setContextRelative(boolean contextRelative)
           
 void setModule(java.lang.String module)
           
 void setName(java.lang.String name)
           
 void setPath(java.lang.String path)
           
 void setRedirect(boolean redirect)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.struts.config.ForwardConfig
checkCircularInheritance, getCatalog, getCommand, getExtends, inheritFrom, isExtensionProcessed, processExtends, setCatalog, setCommand, setExtends
 
Methods inherited from class org.apache.struts.config.BaseConfig
copyProperties, freeze, getProperties, getProperty, inheritProperties, setProperties, setProperty, throwIfConfigured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockForwardConfig

public MockForwardConfig()

MockForwardConfig

public MockForwardConfig(java.lang.String name,
                         java.lang.String path,
                         boolean redirect)

MockForwardConfig

public MockForwardConfig(java.lang.String name,
                         java.lang.String path,
                         boolean redirect,
                         boolean contextRelative)

MockForwardConfig

public MockForwardConfig(java.lang.String name,
                         java.lang.String path,
                         boolean redirect,
                         java.lang.String module)
Method Detail

getContextRelative

public boolean getContextRelative()

setContextRelative

public void setContextRelative(boolean contextRelative)

getModule

public java.lang.String getModule()
Overrides:
getModule in class org.apache.struts.config.ForwardConfig

setModule

public void setModule(java.lang.String module)
Overrides:
setModule in class org.apache.struts.config.ForwardConfig

getName

public java.lang.String getName()
Overrides:
getName in class org.apache.struts.config.ForwardConfig

setName

public void setName(java.lang.String name)
Overrides:
setName in class org.apache.struts.config.ForwardConfig

getPath

public java.lang.String getPath()
Overrides:
getPath in class org.apache.struts.config.ForwardConfig

setPath

public void setPath(java.lang.String path)
Overrides:
setPath in class org.apache.struts.config.ForwardConfig

getRedirect

public boolean getRedirect()
Overrides:
getRedirect in class org.apache.struts.config.ForwardConfig

setRedirect

public void setRedirect(boolean redirect)
Overrides:
setRedirect in class org.apache.struts.config.ForwardConfig

toString

public java.lang.String toString()
Overrides:
toString in class org.apache.struts.config.ForwardConfig