Interface CommandManager<P,S>
- All Known Implementing Classes:
AbstractCommandManager
public interface CommandManager<P,S>
-
Method Summary
Modifier and TypeMethodDescription@NotNull CaptionRegistry<S>
char
@NotNull CommandExceptionHandler<S>
<C> void
executeCommand
(@NotNull Command<S> command, S sender, @NotNull String[] args) @NotNull List<CommandSyntax<S>>
findAmbiguity
(@NotNull List<CommandSyntax<S>> syntaxes) findSyntax
(@NotNull Command<S> command, DelegateCommandContext<S> delegateContext) @NotNull FlagRegistry
getCommand
(String name) @NotNull Collection<Command<S>>
@NotNull SenderWrapper<S>
void
handleHelpProvider
(S sender, @NotNull Context<S> context, @NotNull String label, int page, @NotNull List<CommandSyntax<S>> syntaxes) @Nullable CommandHelpProvider
void
registerCommand
(C command) @NotNull SenderProviderRegistry<S>
void
setHelpProvider
(@Nullable CommandHelpProvider helpProvider) @NotNull ArgumentTypeRegistry
void
unregisterCommand
(String name)
-
Method Details
-
getBootstrap
-
exceptionHandler
-
executeCommand
-
getSenderWrapper
-
typeRegistry
-
commandStarter
char commandStarter() -
registerCommand
-
unregisterCommand
-
getCommand
-
getCommands
-
flagRegistry
-
captionRegistry
-
senderProviderRegistry
-
helpProvider
-
setHelpProvider
-
handleHelpProvider
-
findAmbiguity
@NotNull @NotNull List<CommandSyntax<S>> findAmbiguity(@NotNull @NotNull List<CommandSyntax<S>> syntaxes) -
findSyntax
CommandSyntax<S> findSyntax(@NotNull @NotNull Command<S> command, DelegateCommandContext<S> delegateContext) -
suggest
-
log
-