graphmine-core / io.github.sof3.graphmine.command
This package contains the API for declaring commands.
| Command | abstract class Command<C : Scope>This class represents a command type. Each instance of Command should represent one registered command. |
| CommandExecutor | class CommandExecutor<A : Overload, S : CommandSender, C : Scope>The this context of command handlers. |
| CommandMap | class CommandMapStores a list of commands. This class can also be instantiated at individual commands to provide a sub-command list. |
| CommandReceiver | interface CommandReceiverAccepts output from a command. |
| CommandSender | interface CommandSenderRepresents an object that sends the command. |
| EmptyOverload | class EmptyOverload : OverloadAn empty overload, reused for commands that do not require arguments. |
| Overload | abstract class OverloadDefines the parameters of a command. |
| RegisteredOverload | class RegisteredOverload : I18nableA factory that creates a new instance of a known command overload for each command execution. |
| CommandException | abstract class CommandException : Exception, I18nableRepresents any user-friendly errors reported from commands. |
| WrongSyntaxException | class WrongSyntaxException : CommandExceptionThrown when a command with wrong syntax is sent. |