Class UndeployCommand
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.cmd.security.AbstractControlledCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.security.CommandWithPermissions
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractUndeployCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.UndeployCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,LegacyBridge,BatchCompliantCommand,DMRCommand
- Direct Known Subclasses:
DisableCommand
public class UndeployCommand extends AbstractUndeployCommand
Undeploy a deployment. All fields are public to be accessible from legacy commands. To be made private when legacies are removed.- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.wildfly.core.cli.command.BatchCompliantCommand
BatchCompliantCommand.BatchResponseHandler
-
-
Field Summary
Fields Modifier and Type Field Description Stringname-
Fields inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractUndeployCommand
allRelevantServerGroups, headers, serverGroups
-
-
Constructor Summary
Constructors Constructor Description UndeployCommand(CommandContext ctx)Deprecated.UndeployCommand(CommandContext ctx, Permissions permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetCommandName()protected StringgetName()protected booleankeepContent()-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractUndeployCommand
buildBatchResponseHandler, buildRequest, execute, execute
-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.security.CommandWithPermissions
getPermissions
-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.security.AbstractControlledCommand
addRequiredPath, addRequiredPath, getAccessRequirement, getCommandContext, getRequiredAddress, getRequiredType, isDependsOnProfile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.core.cli.command.DMRCommand
buildRequest
-
-
-
-
Field Detail
-
name
public String name
-
-
Constructor Detail
-
UndeployCommand
public UndeployCommand(CommandContext ctx, Permissions permissions)
-
UndeployCommand
@Deprecated public UndeployCommand(CommandContext ctx)
Deprecated.
-
-
Method Detail
-
keepContent
protected boolean keepContent()
- Specified by:
keepContentin classAbstractUndeployCommand
-
getName
protected String getName()
- Specified by:
getNamein classAbstractUndeployCommand
-
getCommandName
protected String getCommandName()
- Specified by:
getCommandNamein classAbstractUndeployCommand
-
-