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