public class LegacyCommandContainer extends org.aesh.command.container.DefaultCommandContainer<org.aesh.command.Command<CLICommandInvocation>,CLICommandInvocation>
CommandHandler in order to allow to mix
legacy commands with new commands when aesh operators are in use. Aesh
parsing and completion are disabled and delegated to legacy parsing and
completion.| Modifier and Type | Class and Description |
|---|---|
class |
LegacyCommandContainer.CommandParser |
class |
LegacyCommandContainer.LegacyCommand |
| Constructor and Description |
|---|
LegacyCommandContainer(CommandContextImpl ctx,
String[] names,
CommandHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getBuildErrorMessage() |
org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> |
getParser() |
boolean |
haveBuildError() |
public LegacyCommandContainer(CommandContextImpl ctx, String[] names, CommandHandler handler) throws org.aesh.command.parser.CommandLineParserException
org.aesh.command.parser.CommandLineParserExceptionpublic org.aesh.command.impl.parser.CommandLineParser<org.aesh.command.Command<CLICommandInvocation>> getParser()
public boolean haveBuildError()
public String getBuildErrorMessage()
Copyright © 2018 JBoss by Red Hat. All rights reserved.