Class DeploymentCommand
- 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.DeploymentCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<CLICommandInvocation>,org.aesh.command.GroupCommand<CLICommandInvocation>
public class DeploymentCommand extends CommandWithPermissions implements org.aesh.command.GroupCommand<CLICommandInvocation>
The parent command of all deployment commands.- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description DeploymentCommand(CommandContext ctx, Permissions permissions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.aesh.command.CommandResultexecute(CLICommandInvocation commandInvocation)Deprecated.List<org.aesh.command.Command<CLICommandInvocation>>getCommands()static voidregisterDeploymentCommands(CommandContext ctx, CLICommandRegistry registry)-
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
-
-
-
-
Constructor Detail
-
DeploymentCommand
public DeploymentCommand(CommandContext ctx, Permissions permissions)
-
-
Method Detail
-
registerDeploymentCommands
public static void registerDeploymentCommands(CommandContext ctx, CLICommandRegistry registry) throws CommandLineException, org.aesh.command.parser.CommandLineParserException
- Throws:
CommandLineExceptionorg.aesh.command.parser.CommandLineParserException
-
execute
@Deprecated public org.aesh.command.CommandResult execute(CLICommandInvocation commandInvocation) throws org.aesh.command.CommandException, InterruptedException
Deprecated.- Specified by:
executein interfaceorg.aesh.command.Command<CLICommandInvocation>- Throws:
org.aesh.command.CommandExceptionInterruptedException
-
getCommands
public List<org.aesh.command.Command<CLICommandInvocation>> getCommands()
- Specified by:
getCommandsin interfaceorg.aesh.command.GroupCommand<CLICommandInvocation>
-
-