public interface ActionCommandList
Actions that implement this interface have static list of commands and can't send commands other than on the list. These actions may be preconfigured and run in non-interactive mode.
Action should not send the same command twice except for the case when received data isn't valid. If an action sends the request twice or more the container may resend it to client if possible or just stop action execution with an error.
The list should be independed on initial configuration by initialRequest. Only ActionDefinition settings may be used.
If the overriden action can't provide such list it should return null.
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ActionCommand> |
getCommands()
List of ActionCommands that can be requested by the source action.
|
java.util.List<ActionCommand> getCommands()