public class AeshCommands extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AeshCommands.CLIExecution |
| Constructor and Description |
|---|
AeshCommands(CommandContextImpl ctx,
OperationCommandContainer op) |
AeshCommands(CommandContextImpl ctx,
ReadlineConsole console,
OperationCommandContainer op) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(org.aesh.complete.AeshCompleteOperation co) |
CommandLineCompleter |
getCommandCompleter() |
Set<String> |
getPlugins() |
CLICommandRegistry |
getRegistry() |
static boolean |
isAeshExtension(org.aesh.command.Command<?> command) |
CommandExecutor.ExecutableBuilder |
newExecutableBuilder(AeshCommands.CLIExecution exe) |
List<AeshCommands.CLIExecution> |
newExecutions(ParsedCommandLine line) |
void |
registerExtraCommands() |
void |
setLegacyCommandCompleter(CLICommandCompleter.Completer completer) |
public AeshCommands(CommandContextImpl ctx, OperationCommandContainer op) throws CliInitializationException
CliInitializationExceptionpublic AeshCommands(CommandContextImpl ctx, ReadlineConsole console, OperationCommandContainer op) throws CliInitializationException
CliInitializationExceptionpublic void setLegacyCommandCompleter(CLICommandCompleter.Completer completer)
public CommandLineCompleter getCommandCompleter()
public CLICommandRegistry getRegistry()
public void complete(org.aesh.complete.AeshCompleteOperation co)
public List<AeshCommands.CLIExecution> newExecutions(ParsedCommandLine line) throws CommandFormatException, IOException, org.aesh.command.CommandNotFoundException
CommandFormatExceptionIOExceptionorg.aesh.command.CommandNotFoundExceptionpublic CommandExecutor.ExecutableBuilder newExecutableBuilder(AeshCommands.CLIExecution exe)
public void registerExtraCommands()
throws CommandLineException,
org.aesh.command.parser.CommandLineParserException
CommandLineExceptionorg.aesh.command.parser.CommandLineParserExceptionpublic static boolean isAeshExtension(org.aesh.command.Command<?> command)
Copyright © 2018 JBoss by Red Hat. All rights reserved.