public class DeployArchiveCommand extends CommandWithPermissions implements org.aesh.command.Command<CLICommandInvocation>, BatchCompliantCommand, LegacyBridge
BatchCompliantCommand.BatchResponseHandler| Constructor and Description |
|---|
DeployArchiveCommand(CommandContext ctx)
Deprecated.
|
DeployArchiveCommand(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.jboss.dmr.ModelNode |
buildRequest(CommandContext context,
Attachments attachments)
null attachments means that the command is in a batch, non null means
command executed.
|
org.aesh.command.CommandResult |
execute(CLICommandInvocation commandInvocation) |
org.aesh.command.CommandResult |
execute(CommandContext ctx) |
protected String |
getAction() |
protected String |
getDefaultScript() |
static boolean |
isCliArchive(File f) |
getPermissionsaddRequiredPath, addRequiredPath, getAccessRequirement, getCommandContext, getRequiredAddress, getRequiredType, isDependsOnProfilepublic DeployArchiveCommand(CommandContext ctx, Permissions permissions)
@Deprecated public DeployArchiveCommand(CommandContext ctx)
protected String getAction()
protected String getDefaultScript()
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 org.jboss.dmr.ModelNode buildRequest(CommandContext context) throws CommandFormatException
buildRequest in interface DMRCommandCommandFormatExceptionpublic org.jboss.dmr.ModelNode buildRequest(CommandContext context, Attachments attachments) throws CommandFormatException
buildRequest in interface DMRCommandcontext - attachments - CommandFormatExceptionpublic static boolean isCliArchive(File f)
public BatchCompliantCommand.BatchResponseHandler buildBatchResponseHandler(CommandContext commandContext, Attachments attachments)
buildBatchResponseHandler in interface BatchCompliantCommandCopyright © 2018 JBoss by Red Hat. All rights reserved.