public class ExecuteOperationCommand extends Object implements Command<ExecuteOperationRequest,GenericSuccessResponse>
| Modifier and Type | Field and Description |
|---|---|
static Class<ExecuteOperationRequest> |
REQUEST_CLASS |
| Constructor and Description |
|---|
ExecuteOperationCommand() |
| Modifier and Type | Method and Description |
|---|---|
GenericSuccessResponse |
execute(ExecuteOperationRequest request,
CommandContext context)
Performs the command for the feed.
|
public static final Class<ExecuteOperationRequest> REQUEST_CLASS
public GenericSuccessResponse execute(ExecuteOperationRequest request, CommandContext context) throws Exception
Commandexecute in interface Command<ExecuteOperationRequest,GenericSuccessResponse>request - 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.