Modifier and Type | Method and Description |
---|---|
abstract CommandDescriptor<T> |
CommandDescriptor.getOwner() |
CommandDescriptor<T> |
CommandDescriptor.getSubordinate(String name)
Returns a specified subordinate.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<String,? extends CommandDescriptor<T>> |
CommandDescriptor.getSubordinates() |
Modifier and Type | Method and Description |
---|---|
private List<String[]> |
Format.Usage.collectParametersTuples(CommandDescriptor<?> command) |
abstract void |
Format.print(CommandDescriptor<?> command,
Appendable stream)
Print the specified
command to the stream |
void |
Format.Describe.print(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Man.print(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Usage.print(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Man.printDescriptionSection(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Usage.printDetailsSection(CommandDescriptor<?> command,
Appendable stream) |
protected void |
Format.printFQN(CommandDescriptor<?> command,
Appendable stream)
Print the full qualified name of the command.
|
protected void |
Format.printFQNWithOptions(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Man.printNameSection(CommandDescriptor<?> command,
Appendable stream) |
protected boolean |
Format.Man.printOptions(boolean printed,
CommandDescriptor<?> command,
Appendable stream) |
protected boolean |
Format.Man.printParameters(boolean printed,
CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Man.printParametersSection(CommandDescriptor<?> command,
Appendable stream) |
protected void |
Format.Man.printSubordinates(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Man.printSynopsisSection(CommandDescriptor<?> command,
Appendable stream) |
void |
Format.Usage.printUsageSection(CommandDescriptor<?> command,
Appendable stream) |
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<T> |
OptionCompletion.descriptor
.
|
private CommandDescriptor<T> |
CompletionMatcher.descriptor
.
|
private CommandDescriptor<T> |
CommandCompletion.descriptor
.
|
Modifier and Type | Method and Description |
---|---|
private Completion |
CompletionMatcher.argument(CommandDescriptor<?> method,
Completer completer,
Delimiter delimiter) |
Constructor and Description |
---|
CommandCompletion(CommandDescriptor<T> descriptor,
String prefix,
Delimiter delimiter) |
CompletionMatcher(CommandDescriptor<T> descriptor) |
OptionCompletion(CommandDescriptor<T> descriptor,
Token.Literal.Option prefix) |
Modifier and Type | Class and Description |
---|---|
class |
HelpDescriptor<T> |
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<T> |
HelpDescriptor.delegate
.
|
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<T> |
HelpDescriptor.getDelegate() |
CommandDescriptor<T> |
HelpDescriptor.getOwner() |
Modifier and Type | Method and Description |
---|---|
static <T> HelpDescriptor<T> |
HelpDescriptor.create(CommandDescriptor<T> descriptor) |
Constructor and Description |
---|
HelpDescriptor(CommandDescriptor<T> delegate) |
HelpDescriptor(HelpDescriptor<T> owner,
CommandDescriptor<T> delegate) |
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<T> |
InvocationMatch.descriptor
.
|
private CommandDescriptor<T> |
InvocationMatcher.descriptor
.
|
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<T> |
InvocationMatch.getDescriptor() |
Constructor and Description |
---|
InvocationMatch(CommandDescriptor<T> descriptor) |
InvocationMatch(InvocationMatch<T> owner,
CommandDescriptor<T> descriptor) |
InvocationMatcher(CommandDescriptor<T> descriptor) |
InvocationMatcher(CommandDescriptor<T> descriptor,
Iterable<Token> tokens) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ClassDescriptor<T> |
(package private) class |
MethodDescriptor<T> |
class |
ObjectCommandDescriptor<T> |
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<Instance<T>> |
MethodDescriptor.getOwner() |
CommandDescriptor<Instance<T>> |
ClassDescriptor.getOwner() |
Modifier and Type | Method and Description |
---|---|
Map<String,? extends CommandDescriptor<Instance<T>>> |
MethodDescriptor.getSubordinates() |
Modifier and Type | Field and Description |
---|---|
(package private) CommandDescriptor<T> |
Status.Request.command
.
|
(package private) CommandDescriptor<T> |
Status.Response.command
.
|
private CommandDescriptor<T> |
Parser.command
.
|
protected CommandDescriptor<?> |
Event.Parameter.command
.
|
private CommandDescriptor<?> |
Event.Subordinate.descriptor
.
|
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<?> |
Event.Parameter.getCommand() |
CommandDescriptor<?> |
Event.Subordinate.getDescriptor() |
Constructor and Description |
---|
Event.Argument(CommandDescriptor<?> command,
ArgumentDescriptor descriptor,
List<Token.Literal> values) |
Event.Option(CommandDescriptor<?> command,
OptionDescriptor descriptor,
Token.Literal.Option token,
List<Token.Literal.Word> values) |
Event.Parameter(CommandDescriptor<?> command,
D parameter,
List<T> values) |
Event.Subordinate.Explicit(CommandDescriptor<?> descriptor,
Token.Literal.Word token) |
Event.Subordinate.Implicit(CommandDescriptor<?> descriptor,
Token.Literal trigger) |
Event.Subordinate(CommandDescriptor<?> descriptor) |
Parser(Tokenizer tokenizer,
CommandDescriptor<T> command,
Mode mode) |
Status.Request(Mode mode,
Tokenizer tokenizer,
CommandDescriptor<T> command) |
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<Instance<T>> |
GroovyScriptShellCommand.descriptor
.
|
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<Instance<T>> |
GroovyScriptShellCommand.getDescriptor() |
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<Instance<T>> |
ClassShellCommand.descriptor
.
|
Modifier and Type | Method and Description |
---|---|
CommandDescriptor<Instance<T>> |
ClassShellCommand.getDescriptor() |
Modifier and Type | Method and Description |
---|---|
abstract CommandDescriptor<T> |
Command.getDescriptor()
Returns the command descriptor.
|
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<Instance<CRaSH>> |
CRaSH.descriptor
.
|
Copyright © 2015 eXo Platform SAS. All Rights Reserved.