Uses of Interface
co.aikar.commands.CommandIssuer
-
Packages that use CommandIssuer Package Description co.aikar.commands co.aikar.commands.contexts -
-
Uses of CommandIssuer in co.aikar.commands
Fields in co.aikar.commands declared as CommandIssuer Modifier and Type Field Description protected ICommandCompletionContext. issuerprotected ICommandExecutionContext. issuerMethods in co.aikar.commands that return CommandIssuer Modifier and Type Method Description CommandIssuerBaseCommand. getCurrentCommandIssuer()Gets the current command issuer.static CommandIssuerCommandManager. getCurrentCommandIssuer()CommandIssuerCommandCompletionContext. getIssuer()CommandIssuerCommandHelp. getIssuer()Methods in co.aikar.commands with parameters of type CommandIssuer Modifier and Type Method Description booleanBaseCommand. canExecute(CommandIssuer issuer, RegisteredCommand<?> cmd)Deprecated.abstract CommandExecutionContextCommandManager. createCommandContext(RegisteredCommand command, CommandParameter parameter, CommandIssuer sender, List<String> args, int i, Map<String,Object> passedArgs)abstract CommandCompletionContextCommandManager. createCompletionContext(RegisteredCommand command, CommandIssuer sender, String input, String config, String[] args)ConditionContextCommandManager. createConditionContext(CommandIssuer issuer, String config)voidBaseCommand. doHelp(CommandIssuer issuer, String... args)booleanExceptionHandler. execute(BaseCommand command, RegisteredCommand registeredCommand, CommandIssuer sender, List<String> args, Throwable t)Called when an exception occurs while executing a command
If an exception handler properly handles an exception, the user will not be noticied by the framework that something went unexceptected.voidForwardingCommand. execute(CommandIssuer issuer, co.aikar.commands.CommandRouter.CommandRouteResult result)default BaseCommandRootCommand. execute(CommandIssuer sender, String commandLabel, String[] args)StringCommandManager. formatMessage(CommandIssuer issuer, MessageType type, co.aikar.locales.MessageKeyProvider key, String... replacements)CommandHelpCommandManager. generateCommandHelp(CommandIssuer issuer, @NotNull String command)Deprecated.Unstable APICommandHelpCommandManager. generateCommandHelp(CommandIssuer issuer, RootCommand rootCommand)Deprecated.Unstable APIStringCommandManager. getCommandPrefix(CommandIssuer issuer)StringCommandParameter. getDisplayName(CommandIssuer issuer)LocaleCommandManager. getIssuerLocale(CommandIssuer issuer)StringLocales. getMessage(CommandIssuer issuer, co.aikar.locales.MessageKeyProvider key)StringLocales. getOptionalMessage(CommandIssuer issuer, co.aikar.locales.MessageKey key)StringHelpEntry. getParameterSyntax(CommandIssuer issuer)StringCommandParameter. getSyntax(CommandIssuer issuer)StringRegisteredCommand. getSyntaxText(CommandIssuer issuer)default List<String>RootCommand. getTabCompletions(CommandIssuer sender, String alias, String[] args)default List<String>RootCommand. getTabCompletions(CommandIssuer sender, String alias, String[] args, boolean commandsOnly)default List<String>RootCommand. getTabCompletions(CommandIssuer sender, String alias, String[] args, boolean commandsOnly, boolean isAsync)protected booleanCommandManager. handleUncaughtException(BaseCommand scope, RegisteredCommand registeredCommand, CommandIssuer sender, List<String> args, Throwable t)default booleanRootCommand. hasAnyPermission(CommandIssuer issuer)booleanBaseCommand. hasPermission(CommandIssuer issuer)booleanCommandManager. hasPermission(CommandIssuer issuer, String permission)booleanCommandManager. hasPermission(CommandIssuer issuer, Set<String> permissions)booleanForwardingCommand. hasPermission(CommandIssuer sender)voidBaseCommand. help(CommandIssuer issuer, String[] args)voidCommandHelpFormatter. printDetailedHelpCommand(CommandHelp help, CommandIssuer issuer, HelpEntry entry)voidCommandHelpFormatter. printDetailedHelpFooter(CommandHelp help, CommandIssuer issuer, HelpEntry entry)voidCommandHelpFormatter. printDetailedHelpHeader(CommandHelp help, CommandIssuer issuer, HelpEntry entry)voidCommandHelpFormatter. printDetailedParameter(CommandHelp help, CommandIssuer issuer, HelpEntry entry, CommandParameter param)voidCommandHelpFormatter. printHelpCommand(CommandHelp help, CommandIssuer issuer, HelpEntry entry)voidCommandHelpFormatter. printHelpFooter(CommandHelp help, CommandIssuer issuer)voidCommandHelpFormatter. printHelpHeader(CommandHelp help, CommandIssuer issuer)voidCommandHelpFormatter. printSearchEntry(CommandHelp help, CommandIssuer issuer, HelpEntry page)voidCommandHelpFormatter. printSearchFooter(CommandHelp help, CommandIssuer issuer)voidCommandHelpFormatter. printSearchHeader(CommandHelp help, CommandIssuer issuer)voidCommandManager. sendMessage(CommandIssuer issuer, MessageType type, co.aikar.locales.MessageKeyProvider key, String... replacements)voidCommandHelp. showHelp(CommandIssuer issuer)voidBaseCommand. showSyntax(CommandIssuer issuer, RegisteredCommand<?> cmd)List<String>BaseCommand. tabComplete(CommandIssuer issuer, String commandLabel, String[] args)Gets tab completed data from the given command from the user.List<String>BaseCommand. tabComplete(CommandIssuer issuer, String commandLabel, String[] args, boolean isAsync)Gets the tab complete suggestions from a given command.List<String>ForwardingCommand. tabComplete(CommandIssuer issuer, RootCommand rootCommand, String[] args, boolean isAsync)Constructors in co.aikar.commands with parameters of type CommandIssuer Constructor Description CommandHelp(CommandManager manager, RootCommand rootCommand, CommandIssuer issuer) -
Uses of CommandIssuer in co.aikar.commands.contexts
Classes in co.aikar.commands.contexts with type parameters of type CommandIssuer Modifier and Type Interface Description interfaceContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>This defines a context resolver, which parsesContextResolverfromContextResolver.interfaceIssuerAwareContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>interfaceIssuerOnlyContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>A context resolver that will never consume input, and only resolves using the context of the issuer of the commandinterfaceOptionalContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>The same asContextResolver, however it can accept a null context.interfaceSenderAwareContextResolver<T,C extends CommandExecutionContext<?,? extends CommandIssuer>>Deprecated.Please useIssuerAwareContextResolver
-