public abstract class AbstractEnableSSLCommand extends Object implements org.aesh.command.Command<CLICommandInvocation>, DMRCommand
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEnableSSLCommand(CommandContext initCtx) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
buildRequest(CommandContext context) |
org.aesh.command.CommandResult |
execute(CLICommandInvocation commandInvocation) |
protected abstract String |
getTarget(CommandContext ctx) |
protected abstract boolean |
isSSLEnabled(CommandContext ctx) |
protected abstract void |
secure(CommandContext ctx,
SSLSecurityBuilder ssl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRequestprotected AbstractEnableSSLCommand(CommandContext initCtx)
protected abstract void secure(CommandContext ctx, SSLSecurityBuilder ssl) throws org.aesh.command.CommandException
org.aesh.command.CommandExceptionpublic org.jboss.dmr.ModelNode buildRequest(CommandContext context) throws CommandFormatException
buildRequest in interface DMRCommandCommandFormatExceptionprotected abstract boolean isSSLEnabled(CommandContext ctx) throws Exception
Exceptionprotected abstract String getTarget(CommandContext ctx)
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.CommandExceptionInterruptedExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.