public class AddDatasourceResponseCommand extends Object implements Command<AddDatasourceResponse,org.hawkular.bus.common.BasicMessage>
| Modifier and Type | Field and Description |
|---|---|
static Class<AddDatasourceResponse> |
REQUEST_CLASS |
| Constructor and Description |
|---|
AddDatasourceResponseCommand() |
| Modifier and Type | Method and Description |
|---|---|
org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.bus.common.BasicMessage> |
execute(AddDatasourceResponse response,
org.hawkular.bus.common.BinaryData binaryData,
CommandContext context)
Performs the command for the feed.
|
public static final Class<AddDatasourceResponse> REQUEST_CLASS
public org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.bus.common.BasicMessage> execute(AddDatasourceResponse response, org.hawkular.bus.common.BinaryData binaryData, CommandContext context) throws Exception
Commandexecute in interface Command<AddDatasourceResponse,org.hawkular.bus.common.BasicMessage>response - the request that describes what needs to be executedbinaryData - if not null, this contains extra binary data that came across with the command requestcontext - 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. All rights reserved.