public class RootCommandNode<S> extends CommandNode<S>
| Constructor and Description |
|---|
RootCommandNode() |
| Modifier and Type | Method and Description |
|---|---|
ArgumentBuilder<S,?> |
createBuilder() |
boolean |
equals(Object o) |
Collection<String> |
getExamples() |
String |
getName() |
protected String |
getSortedKey() |
String |
getUsageText() |
boolean |
isValidInput(String input) |
CompletableFuture<Suggestions> |
listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
void |
parse(StringReader reader,
CommandContextBuilder<S> contextBuilder) |
String |
toString() |
addChild, canUse, compareTo, findAmbiguities, getChild, getChildren, getCommand, getRedirect, getRedirectModifier, getRelevantNodes, getRequirement, hashCode, isForkpublic String getName()
getName in class CommandNode<S>public String getUsageText()
getUsageText in class CommandNode<S>public void parse(StringReader reader, CommandContextBuilder<S> contextBuilder) throws CommandSyntaxException
parse in class CommandNode<S>CommandSyntaxExceptionpublic CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder)
listSuggestions in class CommandNode<S>public boolean isValidInput(String input)
isValidInput in class CommandNode<S>public boolean equals(Object o)
equals in class CommandNode<S>public ArgumentBuilder<S,?> createBuilder()
createBuilder in class CommandNode<S>protected String getSortedKey()
getSortedKey in class CommandNode<S>public Collection<String> getExamples()
getExamples in class CommandNode<S>Copyright © 2018. All rights reserved.