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