Modifier and Type | Class and Description |
---|---|
static class |
AeshExample.Child1 |
static class |
AeshExample.Child2 |
static class |
AeshExample.ExitCommand |
static class |
AeshExample.FooCommand |
static class |
AeshExample.GroupCommand |
static class |
AeshExample.LsCommand |
static class |
AeshExample.PromptCommand |
static class |
AeshExample.RunCommand |
static class |
AeshExample.TestConsoleCommand |
static class |
AeshGraphicsExample.ExitCommand |
static class |
AeshGraphicsExample.GraphicsCommand |
Modifier and Type | Method and Description |
---|---|
Command |
AeshExample.DirectoryValidatorInvocation.getCommand() |
Modifier and Type | Method and Description |
---|---|
ValidatorInvocation<File,Command> |
AeshExample.ExampleValidatorInvocationProvider.enhanceValidatorInvocation(ValidatorInvocation validatorInvocation) |
Constructor and Description |
---|
DirectoryValidatorInvocation(File file,
Command command,
AeshContext aeshContext) |
Modifier and Type | Class and Description |
---|---|
class |
CommandLine<T extends Command>
A parsed String based on the provided CommandDefinition and Options defined
in a
AeshCommandLineParser . |
Modifier and Type | Method and Description |
---|---|
CommandBuilder |
CommandBuilder.command(Command command) |
Modifier and Type | Method and Description |
---|---|
CommandBuilder |
CommandBuilder.command(Class<? extends Command> command) |
CommandBuilder |
CommandBuilder.populator(CommandPopulator<?,? extends Command> populator) |
Modifier and Type | Method and Description |
---|---|
Command |
CompleterData.getCommand() |
Constructor and Description |
---|
CompleterData(AeshContext aeshContext,
String completeValue,
Command command) |
Modifier and Type | Class and Description |
---|---|
class |
ProcessedCommand<C extends Command> |
Modifier and Type | Method and Description |
---|---|
ProcessedCommandBuilder |
ProcessedCommandBuilder.command(Command command) |
Modifier and Type | Method and Description |
---|---|
ProcessedCommandBuilder |
ProcessedCommandBuilder.command(Class<? extends Command> command) |
Modifier and Type | Class and Description |
---|---|
class |
AeshCommandLineParser<C extends Command>
A simple command line parser.
|
interface |
CommandLineParser<C extends Command>
A command line parser that is created based on a given
ProcessedCommand.
|
Modifier and Type | Method and Description |
---|---|
List<CommandLineParser<? extends Command>> |
CommandLineParser.getAllChildParsers() |
List<CommandLineParser<? extends Command>> |
AeshCommandLineParser.getAllChildParsers() |
CommandLineParser<? extends Command> |
CommandLineParser.getChildParser(String name) |
CommandLineParser<? extends Command> |
AeshCommandLineParser.getChildParser(String name) |
CommandLine<? extends Command> |
CommandLineParser.parse(AeshLine line,
boolean ignoreRequirements) |
CommandLine<? extends Command> |
AeshCommandLineParser.parse(AeshLine line,
boolean ignoreRequirements) |
CommandLine<? extends Command> |
CommandLineParser.parse(List<String> lines,
boolean ignoreRequirements)
Parse a command line with the defined command as base of the rules.
|
CommandLine<? extends Command> |
AeshCommandLineParser.parse(List<String> lines,
boolean ignoreRequirements)
Parse a command line with the defined command as base of the rules.
|
CommandLine<? extends Command> |
CommandLineParser.parse(String line)
Parse a command line with the defined command as base of the rules.
|
CommandLine<? extends Command> |
AeshCommandLineParser.parse(String line)
Parse a command line with the defined command as base of the rules.
|
CommandLine<? extends Command> |
CommandLineParser.parse(String line,
boolean ignoreRequirements)
Parse a command line with the defined command as base of the rules.
|
CommandLine<? extends Command> |
AeshCommandLineParser.parse(String line,
boolean ignoreRequirements)
Parse a command line with the defined command as base of the rules.
|
Modifier and Type | Method and Description |
---|---|
static AeshCommandContainer |
ParserGenerator.generateCommandLineParser(Command paramInstance) |
static void |
ParserGenerator.parseAndPopulate(Command instance,
String input) |
static void |
ParserGenerator.parseAndPopulate(Command instance,
String commandName,
String... input) |
Modifier and Type | Method and Description |
---|---|
void |
CommandLineParser.addChildParser(CommandLineParser<? extends Command> childParser) |
void |
AeshCommandLineParser.addChildParser(CommandLineParser<? extends Command> commandLineParser) |
static AeshCommandContainer |
ParserGenerator.generateCommandLineParser(Class<? extends Command> clazz) |
Constructor and Description |
---|
AeshCommandLineCompletionParser(AeshCommandLineParser<? extends Command> parser) |
Modifier and Type | Interface and Description |
---|---|
interface |
CommandPopulator<T,C extends Command> |
Modifier and Type | Method and Description |
---|---|
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 | Interface and Description |
---|---|
interface |
CommandValidator<T extends Command> |
Modifier and Type | Method and Description |
---|---|
void |
NullCommandValidator.validate(Command command) |
Modifier and Type | Method and Description |
---|---|
AeshConsoleBuilder |
AeshConsoleBuilder.addCommand(Command command) |
Modifier and Type | Interface and Description |
---|---|
interface |
GroupCommand |
Modifier and Type | Method and Description |
---|---|
List<Command> |
GroupCommand.getCommands() |
Modifier and Type | Method and Description |
---|---|
Command |
CompleterInvocation.getCommand() |
Modifier and Type | Class and Description |
---|---|
class |
AeshCommandContainer<C extends Command> |
interface |
CommandContainer<T extends Command>
A CommandContainer hold reference to the Command and
the CommandLineParser generated from the Command.
|
class |
DefaultCommandContainer<C extends Command> |
Modifier and Type | Method and Description |
---|---|
CommandContainer |
AeshCommandContainerBuilder.create(Command command) |
CommandContainer |
CommandContainerBuilder.create(Command command) |
Modifier and Type | Method and Description |
---|---|
CommandContainer |
AeshCommandContainerBuilder.create(Class<? extends Command> command) |
CommandContainer |
CommandContainerBuilder.create(Class<? extends Command> command) |
Modifier and Type | Method and Description |
---|---|
void |
MutableCommandRegistry.addCommand(Command command) |
void |
AeshInternalCommandRegistry.addCommand(Command command) |
AeshCommandRegistryBuilder |
AeshCommandRegistryBuilder.command(Command command) |
Modifier and Type | Method and Description |
---|---|
void |
MutableCommandRegistry.addAllCommands(List<Command> commands) |
void |
MutableCommandRegistry.addCommand(Class<? extends Command> command) |
AeshCommandRegistryBuilder |
AeshCommandRegistryBuilder.command(Class<? extends Command> command) |
Modifier and Type | Class and Description |
---|---|
class |
AeshFileDisplayer
An abstract command used to display files
Implemented similar to less
|
class |
Man
A Man implementation for Aesh.
|
Copyright © 2022 JBoss by Red Hat. All rights reserved.