|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface CommandRunner.CommandInvocation
CommandInvocation defines a command excecution context like the requested name of the command to execute, the parameters of the command, etc...
| Method Summary | |
|---|---|
void |
execute()
Executes the command and populate the report with the command execution result. |
void |
execute(AdminCommand command)
Executes the passed command with this context and populates the report with the execution result. |
CommandRunner.CommandInvocation |
inbound(Payload.Inbound inbound)
Sets the data carried with the request (could be an attachment) |
CommandRunner.CommandInvocation |
outbound(Payload.Outbound outbound)
Sets the data carried with the response |
CommandRunner.CommandInvocation |
parameters(CommandParameters params)
Sets the command parameters as a typed inteface |
CommandRunner.CommandInvocation |
parameters(ParameterMap params)
Sets the command parameters as a ParameterMap. |
| Method Detail |
|---|
CommandRunner.CommandInvocation parameters(CommandParameters params)
params - the parameters
CommandRunner.CommandInvocation parameters(ParameterMap params)
params - the parameters
CommandRunner.CommandInvocation inbound(Payload.Inbound inbound)
inbound - inbound data
CommandRunner.CommandInvocation outbound(Payload.Outbound outbound)
outbound - outbound data
void execute()
void execute(AdminCommand command)
command - command implementation to execute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||