public class StateCommand extends Object implements org.aesh.command.GroupCommand<PmCommandInvocation,org.aesh.command.Command>
| Constructor and Description |
|---|
StateCommand(PmSession pmSession) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addActionCommands(org.aesh.command.impl.registry.AeshCommandRegistryBuilder builder) |
org.aesh.command.CommandResult |
execute(PmCommandInvocation commandInvocation) |
List<org.aesh.command.Command> |
getCommands() |
List<org.aesh.command.container.CommandContainer<org.aesh.command.Command<PmCommandInvocation>,PmCommandInvocation>> |
getParsedCommands() |
void |
setAeshContext(org.aesh.readline.AeshContext ctx) |
public StateCommand(PmSession pmSession)
public org.aesh.command.CommandResult execute(PmCommandInvocation commandInvocation) throws org.aesh.command.CommandException, InterruptedException
execute in interface org.aesh.command.Command<PmCommandInvocation>org.aesh.command.CommandExceptionInterruptedExceptionpublic List<org.aesh.command.container.CommandContainer<org.aesh.command.Command<PmCommandInvocation>,PmCommandInvocation>> getParsedCommands() throws org.aesh.command.parser.CommandLineParserException
getParsedCommands in interface org.aesh.command.GroupCommand<PmCommandInvocation,org.aesh.command.Command>org.aesh.command.parser.CommandLineParserExceptionpublic static void addActionCommands(org.aesh.command.impl.registry.AeshCommandRegistryBuilder builder)
throws org.aesh.command.parser.CommandLineParserException
org.aesh.command.parser.CommandLineParserExceptionpublic void setAeshContext(org.aesh.readline.AeshContext ctx)
public List<org.aesh.command.Command> getCommands()
getCommands in interface org.aesh.command.GroupCommand<PmCommandInvocation,org.aesh.command.Command>Copyright © 2016–2018 JBoss by Red Hat. All rights reserved.