public static interface CommandRunner.CommandInvocation
Modifier and Type | Method and Description |
---|---|
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 |
listener(String nameRegexp,
AdminCommandEventBroker.AdminCommandListener listener)
Register new event listener.
|
CommandRunner.CommandInvocation |
managedJob()
Set the AdminCommand to be a managed job
|
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.
|
CommandRunner.CommandInvocation |
progressStatusChild(ProgressStatus ps)
Register child of ProgressStatus.
|
ActionReport |
report()
Current report.
|
CommandRunner.CommandInvocation parameters(CommandParameters params)
params
- the parametersCommandRunner.CommandInvocation parameters(ParameterMap params)
params
- the parametersCommandRunner.CommandInvocation inbound(Payload.Inbound inbound)
inbound
- inbound dataCommandRunner.CommandInvocation outbound(Payload.Outbound outbound)
outbound
- outbound dataCommandRunner.CommandInvocation listener(String nameRegexp, AdminCommandEventBroker.AdminCommandListener listener)
nameRegexp
- listener
- CommandRunner.CommandInvocation progressStatusChild(ProgressStatus ps)
ps
- CommandRunner.CommandInvocation managedJob()
ActionReport report()
void execute()
void execute(AdminCommand command)
command
- command implementation to executeCopyright © 2021. All rights reserved.