public interface Command<REQ extends BasicMessage,RESP extends BasicMessage>
| Modifier and Type | Method and Description |
|---|---|
RESP |
execute(REQ request,
CommandContext context)
Performs the command for the feed.
|
RESP execute(REQ request, CommandContext context) throws Exception
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.