public abstract class AbstractRemoveModelNodeCommand<REQ extends org.hawkular.cmdgw.api.ResourcePathRequest,RESP extends org.hawkular.cmdgw.api.ResourcePathResponse> extends AbstractResourcePathCommand<REQ,RESP>
Commands removing nodes from the DMR tree.entityType, operationName| Constructor and Description |
|---|
AbstractRemoveModelNodeCommand(String entityType) |
| Modifier and Type | Method and Description |
|---|---|
protected org.hawkular.bus.common.BinaryData |
execute(org.jboss.as.controller.client.ModelControllerClient controllerClient,
EndpointService<DMRNodeLocation,DMRSession> endpointService,
String modelNodePath,
org.hawkular.bus.common.BasicMessageWithExtraData<REQ> envelope,
RESP response,
CommandContext context,
DMRSession dmrContext)
Do whatever with the already validated parameters.
|
assertLocalServer, assertNotRename, createResponse, execute, getOperationName, setServerRefreshIndicator, success, validate, validate, validatepublic AbstractRemoveModelNodeCommand(String entityType)
protected org.hawkular.bus.common.BinaryData execute(org.jboss.as.controller.client.ModelControllerClient controllerClient,
EndpointService<DMRNodeLocation,DMRSession> endpointService,
String modelNodePath,
org.hawkular.bus.common.BasicMessageWithExtraData<REQ> envelope,
RESP response,
CommandContext context,
DMRSession dmrContext)
throws Exception
AbstractResourcePathCommandexecute in class AbstractResourcePathCommand<REQ extends org.hawkular.cmdgw.api.ResourcePathRequest,RESP extends org.hawkular.cmdgw.api.ResourcePathResponse>controllerClient - a plain ModelControllerClientendpointService - an EndpointService belonging to the resourcemodelNodePath - a DMR path acquired from ResourcePathRequest.getResourcePath()envelope - the requestresponse - the responsecontext - the CommandContextdmrContext - a DMRSessionBinaryData with binary content if this command returns anyException - if anything goes wrongCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.