public class RemoveDatasourceCommand extends AbstractRemoveModelNodeCommand<org.hawkular.cmdgw.api.RemoveDatasourceRequest,org.hawkular.cmdgw.api.RemoveDatasourceResponse>
| Modifier and Type | Field and Description |
|---|---|
static Class<org.hawkular.cmdgw.api.RemoveDatasourceRequest> |
REQUEST_CLASS |
entityType, operationName| Constructor and Description |
|---|
RemoveDatasourceCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected org.hawkular.cmdgw.api.RemoveDatasourceResponse |
createResponse() |
protected void |
validate(org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.RemoveDatasourceRequest> envelope,
String managedServerName,
ManagedServer managedServer)
|
protected void |
validate(String modelNodePath,
org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.RemoveDatasourceRequest> envelope)
modelNodePath validation for subclasses. |
executeassertLocalOrRemoteServer, assertLocalServer, assertNotRename, createControllerClient, execute, getOperationName, success, validatepublic static final Class<org.hawkular.cmdgw.api.RemoveDatasourceRequest> REQUEST_CLASS
protected org.hawkular.cmdgw.api.RemoveDatasourceResponse createResponse()
createResponse in class AbstractResourcePathCommand<org.hawkular.cmdgw.api.RemoveDatasourceRequest,org.hawkular.cmdgw.api.RemoveDatasourceResponse>ResourcePathResponse subclassAbstractResourcePathCommand.createResponse()protected void validate(String modelNodePath, org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.RemoveDatasourceRequest> envelope)
AbstractResourcePathCommandmodelNodePath validation for subclasses.validate in class AbstractResourcePathCommand<org.hawkular.cmdgw.api.RemoveDatasourceRequest,org.hawkular.cmdgw.api.RemoveDatasourceResponse>modelNodePath - a DMR path to checkenvelope - the request the modelNodePath comes fromprotected void validate(org.hawkular.bus.common.BasicMessageWithExtraData<org.hawkular.cmdgw.api.RemoveDatasourceRequest> envelope,
String managedServerName,
ManagedServer managedServer)
AbstractResourcePathCommandvalidate in class AbstractResourcePathCommand<org.hawkular.cmdgw.api.RemoveDatasourceRequest,org.hawkular.cmdgw.api.RemoveDatasourceResponse>managedServerName - the name of the managedServermanagedServer - the managed server to validateCopyright © 2015 Red Hat, Inc.. All rights reserved.