public interface

CommandDriven

webwork.action.CommandDriven
Known Indirect Subclasses

Class Overview

Provides multiple execution paths or "commands" for actions implementing this interface.

Summary

Public Methods
String getCommandName()
void setCommand(String command)
Sets the command for an action.

Public Methods

public String getCommandName ()

Returns
  • the name of the command that is currently in play or null if no command has been set

public void setCommand (String command)

Sets the command for an action. This has been DELIBERATELY set to a non JavaBean name because Action chaining copies all getters to setters and hence the if its a getter/setter pair, then the command value will be unintentionally overwritten.

Parameters
command the new command in play