| Modifier and Type | Method and Description |
|---|---|
static void |
AeshExample.main(java.lang.String[] args) |
| Modifier and Type | Field and Description |
|---|---|
private CommandLineParserException |
CommandLine.parserException |
| Modifier and Type | Method and Description |
|---|---|
CommandLineParserException |
CommandLine.getParserException() |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandLine.setParserException(CommandLineParserException e) |
| Constructor and Description |
|---|
CommandLine(CommandLineParserException parserException) |
| Modifier and Type | Field and Description |
|---|---|
private CommandLineParserException |
CommandBuilder.parserException |
| Modifier and Type | Method and Description |
|---|---|
private AeshCommandLineParser |
CommandBuilder.createParser() |
private ProcessedCommand |
CommandBuilder.createProcessedCommand() |
| Modifier and Type | Method and Description |
|---|---|
ProcessedCommand |
ProcessedCommandBuilder.create() |
| Modifier and Type | Class and Description |
|---|---|
class |
ArgumentParserException |
class |
OptionParserException |
class |
RequiredOptionException |
| Modifier and Type | Method and Description |
|---|---|
private static AeshCommandContainer |
ParserGenerator.doGenerateCommandLineParser(Command commandObject) |
private ParsedCompleteObject |
AeshCommandLineCompletionParser.endsWithSpace(java.lang.String line) |
ParsedCompleteObject |
AeshCommandLineCompletionParser.findCompleteObject(java.lang.String line,
int cursor)
1.
|
ParsedCompleteObject |
CommandLineCompletionParser.findCompleteObject(java.lang.String line,
int cursor)
1.
|
private ParsedCompleteObject |
AeshCommandLineCompletionParser.findCompleteObjectValue(java.lang.String line,
boolean endsWithSpace)
Only called when we know that the last word is an option value
If endsWithSpace is true we set the value to an empty string to indicate a value
|
static AeshCommandContainer |
ParserGenerator.generateCommandLineParser(java.lang.Class<? extends Command> clazz) |
static AeshCommandContainer |
ParserGenerator.generateCommandLineParser(Command paramInstance) |
private ParsedCompleteObject |
AeshCommandLineCompletionParser.optionFinder(java.lang.String line) |
static void |
ParserGenerator.parseAndPopulate(Command instance,
java.lang.String input) |
static void |
ParserGenerator.parseAndPopulate(Command instance,
java.lang.String commandName,
java.lang.String... input) |
private static void |
ParserGenerator.processCommand(ProcessedCommand processedCommand,
java.lang.Class clazz) |
private static void |
ParserGenerator.processField(ProcessedCommand processedCommand,
java.lang.reflect.Field field) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandPopulator.populateObject(CommandLine<C> line,
InvocationProviders invocationProviders,
AeshContext aeshContext,
boolean validate)
Populate a Command instance with the values parsed from a command line
If any parser errors are detected it will throw an exception
|
void |
AeshCommandPopulator.populateObject(CommandLine<Command> line,
InvocationProviders invocationProviders,
AeshContext aeshContext,
boolean validate)
Populate a Command instance with the values parsed from a command line
If any parser errors are detected it will throw an exception
|
| Modifier and Type | Method and Description |
|---|---|
CommandContainerResult |
CommandContainer.executeCommand(AeshLine line,
InvocationProviders invocationProviders,
AeshContext aeshContext,
CommandInvocation commandInvocation) |
CommandContainerResult |
DefaultCommandContainer.executeCommand(AeshLine line,
InvocationProviders invocationProviders,
AeshContext aeshContext,
CommandInvocation commandInvocation) |