public abstract class AbstractUndeployCommand extends CommandWithPermissions implements org.aesh.command.Command<CLICommandInvocation>, BatchCompliantCommand, LegacyBridge
BatchCompliantCommand.BatchResponseHandler| Modifier and Type | Field and Description |
|---|---|
boolean |
allRelevantServerGroups |
org.jboss.dmr.ModelNode |
headers |
String |
serverGroups |
| Constructor and Description |
|---|
AbstractUndeployCommand(CommandContext ctx,
Permissions permissions) |
| Modifier and Type | Method and Description |
|---|---|
BatchCompliantCommand.BatchResponseHandler |
buildBatchResponseHandler(CommandContext commandContext,
Attachments attachments) |
org.jboss.dmr.ModelNode |
buildRequest(CommandContext context) |
org.aesh.command.CommandResult |
execute(CLICommandInvocation commandInvocation) |
org.aesh.command.CommandResult |
execute(CommandContext ctx) |
protected abstract String |
getCommandName() |
protected abstract String |
getName() |
protected abstract boolean |
keepContent() |
getPermissionsaddRequiredPath, addRequiredPath, getAccessRequirement, getCommandContext, getRequiredAddress, getRequiredType, isDependsOnProfileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRequestpublic String serverGroups
public boolean allRelevantServerGroups
public org.jboss.dmr.ModelNode headers
public AbstractUndeployCommand(CommandContext ctx, Permissions permissions)
protected abstract boolean keepContent()
protected abstract String getName()
protected abstract String getCommandName()
public org.aesh.command.CommandResult execute(CLICommandInvocation commandInvocation) throws org.aesh.command.CommandException, InterruptedException
execute in interface org.aesh.command.Command<CLICommandInvocation>org.aesh.command.CommandExceptionInterruptedExceptionpublic org.aesh.command.CommandResult execute(CommandContext ctx) throws org.aesh.command.CommandException
execute in interface LegacyBridgeorg.aesh.command.CommandExceptionpublic BatchCompliantCommand.BatchResponseHandler buildBatchResponseHandler(CommandContext commandContext, Attachments attachments)
buildBatchResponseHandler in interface BatchCompliantCommandpublic org.jboss.dmr.ModelNode buildRequest(CommandContext context) throws CommandFormatException
buildRequest in interface DMRCommandCommandFormatExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.