com.mockrunner.mock.web
Class MockForwardConfig
java.lang.Object
org.apache.struts.config.BaseConfig
org.apache.struts.config.ForwardConfig
org.apache.struts.action.ActionForward
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
Fields inherited from class org.apache.struts.config.ForwardConfig |
catalog, command, extensionProcessed, inherit |
Fields inherited from class org.apache.struts.config.BaseConfig |
configured |
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 |
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)
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