public interface AdminCommandContext extends ExecutionContext
| Modifier and Type | Method and Description |
|---|---|
ActionReport |
getActionReport()
Returns the Reporter for this action
|
AdminCommandEventBroker |
getEventBroker()
Simple event broker for inter command communication mostly
from server to client.
|
Payload.Inbound |
getInboundPayload()
Returns the inbound payload, from the admin client, that accompanied
the command request.
|
Logger |
getLogger()
Returns the Logger
|
Payload.Outbound |
getOutboundPayload()
Returns a reference to the outbound payload so a command implementation
can populate the payload for return to the admin client.
|
ProgressStatus |
getProgressStatus()
ProgressStatus can be used to inform about step by step progress
of the command.
|
Subject |
getSubject()
Returns the Subject associated with this command context.
|
void |
setActionReport(ActionReport newReport)
Change the Reporter for this action
|
void |
setSubject(Subject subject)
Sets the Subject to be associated with this command context.
|
ActionReport getActionReport()
void setActionReport(ActionReport newReport)
newReport - The ActionReport to set.Logger getLogger()
getLogger in interface ExecutionContextPayload.Inbound getInboundPayload()
Payload.Outbound getOutboundPayload()
Subject getSubject()
void setSubject(Subject subject)
subject - ProgressStatus getProgressStatus()
@Progress annotation is on the command
implementation.AdminCommandEventBroker getEventBroker()
Copyright © 2013. All Rights Reserved.