public final class CommandStructure extends Object
| Constructor and Description |
|---|
CommandStructure(CommandMetadata element) |
| Modifier and Type | Method and Description |
|---|---|
CommandStructure |
add(CommandMetadata element) |
List<CommandStructure> |
collectCommandsStartingWith(String str) |
CommandStructure |
computeIfAbsent(String name,
Function<String,CommandMetadata> function) |
org.panda_lang.utilities.commons.function.Option<CommandMetadata> |
get(String name) |
CommandMetadata |
getMetadata() |
String |
getName() |
String |
getSimpleName() |
Collection<CommandStructure> |
getSubcommands() |
List<String> |
getSubcommandsNames() |
org.panda_lang.utilities.commons.function.Option<CommandStructure> |
getSubcommandStructure(String nodeName) |
void |
print() |
public CommandStructure(CommandMetadata element)
public void print()
public CommandStructure computeIfAbsent(String name, Function<String,CommandMetadata> function)
public CommandStructure add(CommandMetadata element)
public org.panda_lang.utilities.commons.function.Option<CommandMetadata> get(String name)
public List<CommandStructure> collectCommandsStartingWith(String str)
public org.panda_lang.utilities.commons.function.Option<CommandStructure> getSubcommandStructure(String nodeName)
public Collection<CommandStructure> getSubcommands()
public CommandMetadata getMetadata()
public String getSimpleName()
public String getName()
Copyright © 2021. All rights reserved.