public class ExecuteOperationResponseCommand extends Object implements Command<ExecuteOperationResponse,BasicMessage>
| Modifier and Type | Field and Description |
|---|---|
static Class<ExecuteOperationRequest> |
REQUEST_CLASS |
| Constructor and Description |
|---|
ExecuteOperationResponseCommand() |
| Modifier and Type | Method and Description |
|---|---|
BasicMessage |
execute(ExecuteOperationResponse response,
CommandContext context)
Performs the command for the feed.
|
public static final Class<ExecuteOperationRequest> REQUEST_CLASS
public BasicMessage execute(ExecuteOperationResponse response, CommandContext context) throws Exception
Commandexecute in interface Command<ExecuteOperationResponse,BasicMessage>response - the request that describes what needs to be executedcontext - some context data that can be useful for the command to be able to execute the requestException - if failed to execute the operationCopyright © 2015 Red Hat, Inc.. All rights reserved.