Class EnableAllCommand
- 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.AbstractDeployCommand
-
- org.jboss.as.cli.impl.aesh.cmd.deployment.EnableAllCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,LegacyBridge,BatchCompliantCommand,DMRCommand
public class EnableAllCommand extends AbstractDeployCommand implements LegacyBridge
Enable all disabled deployments.- Author:
- jdenise@redhat.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
AbstractDeployCommand.ServerGroupsCompleter
-
Nested classes/interfaces inherited from interface org.wildfly.core.cli.command.BatchCompliantCommand
BatchCompliantCommand.BatchResponseHandler
-
-
Field Summary
-
Fields inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
allServerGroups, headers, serverGroups
-
-
Constructor Summary
Constructors Constructor Description EnableAllCommand(CommandContext ctx)Deprecated.EnableAllCommand(CommandContext ctx, Permissions permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodebuildRequest(CommandContext context)org.aesh.command.CommandResultexecute(CommandContext ctx)org.aesh.command.CommandResultexecute(CLICommandInvocation commandInvocation)-
Methods inherited from class org.jboss.as.cli.impl.aesh.cmd.deployment.AbstractDeployCommand
buildBatchResponseHandler
-
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
-
-
-
-
Constructor Detail
-
EnableAllCommand
public EnableAllCommand(CommandContext ctx, Permissions permissions)
-
EnableAllCommand
@Deprecated public EnableAllCommand(CommandContext ctx)
Deprecated.
-
-
Method Detail
-
execute
public org.aesh.command.CommandResult execute(CLICommandInvocation commandInvocation) throws org.aesh.command.CommandException, InterruptedException
- Specified by:
executein interfaceorg.aesh.command.Command<CLICommandInvocation>- Throws:
org.aesh.command.CommandExceptionInterruptedException
-
execute
public org.aesh.command.CommandResult execute(CommandContext ctx) throws org.aesh.command.CommandException
- Specified by:
executein interfaceLegacyBridge- Throws:
org.aesh.command.CommandException
-
buildRequest
public org.jboss.dmr.ModelNode buildRequest(CommandContext context) throws CommandFormatException
- Specified by:
buildRequestin interfaceDMRCommand- Throws:
CommandFormatException
-
-