net.anotheria.maf.action
Class ActionMapping
java.lang.Object
net.anotheria.maf.action.ActionMapping
public class ActionMapping
- extends Object
An action mapping is a combination of enter path for an action, class name of the class which executes the action and a map of possible forwards.
- Author:
- lrosenberg
ActionMapping
public ActionMapping(String aPath,
String aType,
ActionCommand... someCommands)
findForward
public ActionForward findForward(String name)
- Deprecated. use findCommand instead.
- Returns a stored forward for the given forward name.
- Parameters:
name -
- Returns:
findCommand
public ActionCommand findCommand(String name)
getPath
public String getPath()
getType
public String getType()
success
public ActionCommand success()
error
public ActionCommand error()
dialog
public ActionCommand dialog()
redirect
public CommandRedirect redirect()
toString
public String toString()
- Overrides:
toString in class Object
getCommands
public Map<String,ActionCommand> getCommands()
Copyright © 2010-2013 anotheria.net. All Rights Reserved.