Uses of Interface
com.everdro1d.libs.commands.CommandInterface
Packages that use CommandInterface
-
Uses of CommandInterface in com.everdro1d.libs.commands
Methods in com.everdro1d.libs.commands that return CommandInterfaceModifier and TypeMethodDescriptionCommandManager.getCommand(String commandString) Retrieves the matching command from the map.Methods in com.everdro1d.libs.commands that return types with arguments of type CommandInterfaceMethods in com.everdro1d.libs.commands with parameters of type CommandInterfaceModifier and TypeMethodDescriptionvoidCommandManager.registerCommand(String commandString, CommandInterface commandToExecute) Add a command to the map.voidCommandManager.registerCommand(String commandString, String alias, CommandInterface commandToExecute) Add a command to the map with an alias.Method parameters in com.everdro1d.libs.commands with type arguments of type CommandInterfaceModifier and TypeMethodDescriptionvoidCommandManager.registerCommands(Map<String, CommandInterface> commandMap) Add a map of custom commands to the command map.voidCommandManager.registerCommandsWithAliases(Map<String[], CommandInterface> commandMap) Add a map of custom commands to the command map with aliases.Constructor parameters in com.everdro1d.libs.commands with type arguments of type CommandInterfaceModifierConstructorDescriptionCommandManager(Map<String, CommandInterface> commandMap) Creates a new CommandManager containing the default commands and any custom commands defined by the map.CommandManager(Map<String, CommandInterface> commandMap, Map<String, String> aliasMap) Creates a new CommandManager containing the default commands and any custom commands defined by the map. -
Uses of CommandInterface in com.everdro1d.libs.commands.included
Classes in com.everdro1d.libs.commands.included that implement CommandInterfaceModifier and TypeClassDescriptionclassA--helpcommand that prints all valid CLI argument commands when executed.