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 void |
execute(org.jboss.as.controller.client.ModelControllerClient controllerClient,
ManagedServer managedServer,
String modelNodePath,
org.hawkular.bus.common.BasicMessageWithExtraData<REQ> envelope,
RESP response,
CommandContext context)
Do whatever with the already validated parameters.
|
assertLocalOrRemoteServer, assertLocalServer, assertNotRename, createControllerClient, createResponse, execute, getOperationName, success, validate, validate, validatepublic AbstractRemoveModelNodeCommand(String entityType)
protected void execute(org.jboss.as.controller.client.ModelControllerClient controllerClient,
ManagedServer managedServer,
String modelNodePath,
org.hawkular.bus.common.BasicMessageWithExtraData<REQ> envelope,
RESP response,
CommandContext context)
throws Exception
AbstractResourcePathCommandexecute in class AbstractResourcePathCommand<REQ extends org.hawkular.cmdgw.api.ResourcePathRequest,RESP extends org.hawkular.cmdgw.api.ResourcePathResponse>controllerClient - a subclass of JBossASClient returned by
AbstractResourcePathCommand.createControllerClient(ManagedServer, CommandContext)managedServer - a ManagedServer instance acquired from ResourcePathRequest.getResourcePath()modelNodePath - a DMR path acquired from ResourcePathRequest.getResourcePath()envelope - the requestresponse - the responsecontext - the CommandContextException - if anything goes wrongCopyright © 2015 Red Hat, Inc.. All rights reserved.