Index
All Classes and Interfaces|All Packages|Serialized Form
G
- GAME_PROFILE - Enum constant in enum class revxrsal.commands.bukkit.brigadier.MinecraftArgumentType
-
A player, online or not.
- generate(ExecutableCommand, CommandActor) - Method in interface revxrsal.commands.help.CommandHelpWriter
-
Generates a command help entry for the specified command
- GERMAN - Static variable in class revxrsal.commands.locales.Locales
- get() - Method in enum class revxrsal.commands.bukkit.brigadier.MinecraftArgumentType
-
Returns the argument type represented by this enum value, otherwise throws an exception
- get(int) - Method in class revxrsal.commands.core.CommandPath
-
Returns the string element at the given index.
- get(String) - Static method in class revxrsal.commands.locales.Locales
-
Returns the locale that matches the given language.
- get(String) - Method in interface revxrsal.commands.locales.Translator
-
Returns the message that corresponds to the given key, using the current
Translator.getLocale()
. - get(String...) - Static method in class revxrsal.commands.core.CommandPath
-
Returns the corresponding
CommandPath
to the given path - get(String, Locale) - Method in interface revxrsal.commands.locales.Translator
-
Returns the message that corresponds to the given key, using the given locale.
- get(Collection<String>) - Static method in class revxrsal.commands.core.CommandPath
-
Returns the corresponding
CommandPath
to the given path - get(String) - Method in interface revxrsal.commands.locales.LocaleReader
-
Returns the mapping value for this key.
- getAdditionalArgumentTypes() - Method in interface revxrsal.commands.brigadier.LampBrigadier
-
Returns the special argument types for parameter types.
- getAnnotatedPosition() - Method in exception revxrsal.commands.exception.ArgumentParseException
-
Return a string pointing to the position of the arguments when this exception occurs.
- getAnnotation(Class<A>) - Method in interface revxrsal.commands.command.trait.CommandAnnotationHolder
-
Returns the annotation present on this command from the annotation type
- getArgumentParser() - Method in interface revxrsal.commands.CommandHandler
-
Returns the
ArgumentParser
responsible for controlling the logic of parsing strings. - getArgumentParser() - Method in class revxrsal.commands.core.BaseCommandHandler
- getArgumentType(CommandParameter) - Method in interface revxrsal.commands.brigadier.LampBrigadier
-
Returns the
ArgumentType
corresponding to this parameter. - getArgumentType(CommandParameter) - Method in interface revxrsal.commands.bukkit.brigadier.ArgumentTypeResolver
-
Returns the argument type for the given parameter.
- getArgumentType(CommandParameter) - Method in class revxrsal.commands.bukkit.brigadier.CommodoreBukkitBrigadier
- getArgumentType(CommandParameter) - Method in interface revxrsal.commands.bukkit.BukkitBrigadier
-
Returns the argument type corresponding to the given parameter.
- getAsPlayer() - Method in interface revxrsal.commands.bukkit.BukkitCommandActor
-
Returns this actor as a
Player
if it is a player, otherwise returnsnull
. - getAsPlayer() - Method in class revxrsal.commands.bukkit.core.BukkitActor
- getAsPlayer() - Method in class revxrsal.commands.sponge.core.SpongeActor
- getAsPlayer() - Method in interface revxrsal.commands.sponge.SpongeCommandActor
-
Returns this actor as a
Player
if it is a player, otherwise returnsnull
. - getAsPlayer() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getAsPlayer() - Method in interface revxrsal.commands.velocity.VelocityCommandActor
-
Returns this actor as a
Player
if it is a player, otherwise returnsnull
. - getAutoCompleter() - Method in interface revxrsal.commands.CommandHandler
-
Returns the auto-completion handler of this command handler
- getAutoCompleter() - Method in class revxrsal.commands.core.BaseCommandHandler
- getBrigadier() - Method in interface revxrsal.commands.bukkit.BukkitCommandHandler
-
Returns an optional
BukkitBrigadier
of this command handler. - getBrigadier() - Method in class revxrsal.commands.bukkit.core.BukkitHandler
- getCategories() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns an unmodifiable view of all the sub-categories in this category.
- getCategories() - Method in interface revxrsal.commands.CommandHandler
-
Returns an unmodifiable view of all the registered categories in this command handler.
- getCategories() - Method in class revxrsal.commands.core.BaseCommandHandler
- getCategory(CommandPath) - Method in interface revxrsal.commands.CommandHandler
-
Returns the given
CommandCategory
that matches the given path. - getCategory(CommandPath) - Method in class revxrsal.commands.core.BaseCommandHandler
- getCategoryPath() - Method in class revxrsal.commands.core.CommandPath
-
Returns the full path of the category of this command.
- getChannel() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getChannel() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the channel this actor sent the command in
- getCommand() - Method in exception revxrsal.commands.exception.MissingArgumentException
-
Returns the command being executed
- getCommand(CommandPath) - Method in interface revxrsal.commands.CommandHandler
-
Returns the given
ExecutableCommand
that matches the given path. - getCommand(CommandPath) - Method in class revxrsal.commands.core.BaseCommandHandler
- getCommandHandler() - Method in interface revxrsal.commands.bukkit.BukkitCommandActor
-
Returns the command handler that constructed this actor
- getCommandHandler() - Method in class revxrsal.commands.bukkit.core.BukkitActor
- getCommandHandler() - Method in class revxrsal.commands.bungee.core.BungeeActor
- getCommandHandler() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getCommandHandler() - Method in interface revxrsal.commands.command.CommandActor
-
Returns the command handler that constructed this actor
- getCommandHandler() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns the command handler that instantiated this category
- getCommandHandler() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the command handler that instantiated this parameter
- getCommandHandler() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the command handler of this command
- getCommandHandler() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getCommandHandler() - Method in class revxrsal.commands.sponge.core.SpongeActor
- getCommandHandler() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getCommandIndex() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the actual index of the parameter in the command.
- getCommands() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns an unmodifiable view of all the commands in this category.
- getCommands() - Method in interface revxrsal.commands.CommandHandler
-
Returns an unmodifiable view of all the registered commands in this command handler.
- getCommands() - Method in class revxrsal.commands.core.BaseCommandHandler
- getCommodore(Plugin) - Static method in class revxrsal.commands.bukkit.brigadier.CommodoreProvider
-
Obtains a
Commodore
instance for the given plugin. - getConsole() - Method in interface revxrsal.commands.cli.ConsoleCommandHandler
-
Returns the singleton
ConsoleActor
used by this console handler - getConsole() - Method in class revxrsal.commands.cli.core.CLIHandler
- getDeclaringCommand() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the command that declares this parameter
- getDefaultAction() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns the
ExecutableCommand
of this category that is executed when no arguments are supplied for the category. - getDefaultSwitch() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the default
Switch.defaultValue()
if the switch was not provided in the command. - getDefaultValue() - Method in interface revxrsal.commands.command.CommandParameter
-
The default value.
- getDependency(Class<T>) - Method in interface revxrsal.commands.CommandHandler
-
Returns the dependency registered for the given type
- getDependency(Class<T>) - Method in class revxrsal.commands.core.BaseCommandHandler
- getDependency(Class<T>, Supplier<T>) - Method in interface revxrsal.commands.CommandHandler
-
Returns the dependency registered for the given type, otherwise returns the given
def
value. - getDependency(Class<T>, Supplier<T>) - Method in class revxrsal.commands.core.BaseCommandHandler
- getDescription() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the description of this parameter.
- getDescription() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the command's description.
- getErrorStream() - Method in interface revxrsal.commands.cli.ConsoleActor
-
Returns the
PrintStream
that is being used to send errors to the console. - getErrorStream() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getEvent() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getEvent() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the
MessageReceivedEvent
that created this actor - getExceptionHandler() - Method in interface revxrsal.commands.CommandHandler
-
Returns the command exception handler currently used by this command handler
- getExceptionHandler() - Method in class revxrsal.commands.core.BaseCommandHandler
- getFirst() - Method in class revxrsal.commands.core.CommandPath
-
Returns the first element of this command path
- getFlagName() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the name of the flag.
- getFlagPrefix() - Method in interface revxrsal.commands.CommandHandler
-
Returns the prefix that comes before all
Flag
parameters when they are fetched from the command. - getFlagPrefix() - Method in class revxrsal.commands.core.BaseCommandHandler
- getFlexible(Class<?>) - Method in class revxrsal.commands.util.ClassMap
- getFlexibleOrDefault(Class<?>, V) - Method in class revxrsal.commands.util.ClassMap
- getFullType() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the full type of this parameter.
- getGuild() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getGuild() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the guild of this actor, or throws a
IllegalStateException
if the command was not run in a guild. - getHelpWriter() - Method in interface revxrsal.commands.CommandHandler
-
Returns the
CommandHelpWriter
of this command handler. - getHelpWriter() - Method in class revxrsal.commands.core.BaseCommandHandler
- getId() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns a unique ID of this command.
- getId() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getId() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the snowflake ID of this actor as a string.
- getIdLong() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getIdLong() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the snowflake ID of this actor
- getIfPresent() - Method in enum class revxrsal.commands.bukkit.brigadier.MinecraftArgumentType
-
Returns the argument type represented by this enum value, wrapped inside an
Optional
- getInputStream() - Method in interface revxrsal.commands.cli.ConsoleActor
-
Returns the
InputStream
that is being used to take input from the console. - getInputStream() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getInsideGeneric(Type, Type) - Static method in class revxrsal.commands.util.Primitives
- getJavaParameter() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the Java-counterpart parameter of this
- getJDA() - Method in class revxrsal.commands.jda.core.JDAHandler
- getJDA() - Method in interface revxrsal.commands.jda.JDACommandHandler
-
Returns the JDA instance maintained by this command handler.
- getLast() - Method in class revxrsal.commands.core.CommandPath
-
Returns the last element in this command path
- getLocale() - Method in class revxrsal.commands.bukkit.core.BukkitActor
- getLocale() - Method in class revxrsal.commands.bungee.core.BungeeActor
- getLocale() - Method in interface revxrsal.commands.command.CommandActor
-
Returns the locale of this command actor.
- getLocale() - Method in interface revxrsal.commands.CommandHandler
-
Gets the current, default locale used by this handler
- getLocale() - Method in class revxrsal.commands.core.BaseCommandHandler
- getLocale() - Method in interface revxrsal.commands.locales.LocaleReader
-
Returns the locale of by this reader
- getLocale() - Method in interface revxrsal.commands.locales.Translator
-
Gets the current, default locale used by this translator
- getLocale() - Method in class revxrsal.commands.sponge.core.SpongeActor
- getLocale() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getLocales() - Static method in class revxrsal.commands.locales.Locales
-
Returns all the locales in this class
- getMember() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getMember() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the
Member
of this actor. - getMessage() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getMessage() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the message of the actor
- getMessagePrefix() - Method in interface revxrsal.commands.CommandHandler
-
Returns the prefix that preceds all messages sent by
CommandActor.reply(String)
andCommandActor.error(String)
. - getMessagePrefix() - Method in class revxrsal.commands.core.BaseCommandHandler
- getMethodCallerFactory() - Method in interface revxrsal.commands.CommandHandler
-
Returns the
MethodCallerFactory
responsible for generating reflective calls. - getMethodCallerFactory() - Method in class revxrsal.commands.core.BaseCommandHandler
- getMethodIndex() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the index of this parameter in the method.
- getName() - Method in class revxrsal.commands.bukkit.core.BukkitActor
- getName() - Method in class revxrsal.commands.bungee.core.BungeeActor
- getName() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getName() - Method in interface revxrsal.commands.command.CommandActor
-
Returns the name of this actor.
- getName() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns the name of this category
- getName() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the parameter name, either from the
@Named
annotation or the compiler-reserved name 'argN'. - getName() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the name of the command
- getName() - Method in class revxrsal.commands.core.CommandPath
-
Returns the name (tail) of this command path.
- getName() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getName() - Method in class revxrsal.commands.sponge.core.SpongeActor
- getName() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getName(Parameter) - Static method in class revxrsal.commands.util.Strings
- getOrNull(List<T>, int) - Static method in class revxrsal.commands.util.Collections
- getOutputStream() - Method in interface revxrsal.commands.cli.ConsoleActor
-
Returns the
PrintStream
that is being used to send normal output to the console. - getOutputStream() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getPageCount() - Method in exception revxrsal.commands.exception.InvalidHelpPageException
-
Returns the number of available pages in this command help.
- getPageSize(int) - Method in interface revxrsal.commands.help.CommandHelp
-
Returns the number of pages that would be generated when including x elements per page.
- getParameters() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns all the parameters of this command
- getParent() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns the parent category of this category.
- getParent() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the parent category of this command.
- getParent() - Method in class revxrsal.commands.core.CommandPath
-
Returns the root parent of this command path.
- getPath() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns the full command path to this category
- getPath() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the full path of the command
- getPermission() - Method in interface revxrsal.commands.command.CommandCategory
-
Returns the required permission to access this category.
- getPermission() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the required permission to access this parameter.
- getPermission() - Method in interface revxrsal.commands.command.trait.PermissionHolder
-
Returns the required permission to access this component.
- getPermission(CommandAnnotationHolder) - Method in interface revxrsal.commands.process.PermissionReader
-
Returns the specified permission for this command, or
null
if this reader does not identify any permission. - getPermissionReaders() - Method in class revxrsal.commands.core.BaseCommandHandler
- getPlugin() - Method in interface revxrsal.commands.bukkit.BukkitCommandHandler
-
Returns the plugin this command handler was registered for.
- getPlugin() - Method in class revxrsal.commands.bukkit.core.BukkitHandler
- getPlugin() - Method in interface revxrsal.commands.bungee.BungeeCommandHandler
-
Returns the plugin this command handler was registered for.
- getPlugin() - Method in class revxrsal.commands.bungee.core.BungeeHandler
- getPlugin() - Method in class revxrsal.commands.sponge.core.SpongeHandler
- getPlugin() - Method in interface revxrsal.commands.sponge.SpongeCommandHandler
-
Returns the plugin this command handler was registered for.
- getPosition() - Method in exception revxrsal.commands.exception.ArgumentParseException
-
Gets the position of the last fetched argument in the provided source string.
- getRawType(Type) - Static method in class revxrsal.commands.util.Primitives
- getResolvedArgument(Class<T>) - Method in interface revxrsal.commands.process.ParameterResolver.ParameterResolverContext
-
Returns the last resolved value of the given parameter type.
- getResolvedParameter(CommandParameter) - Method in interface revxrsal.commands.process.ParameterResolver.ParameterResolverContext
-
Returns the last resolved value of the given parameter type.
- getResolver() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the resolver for this parameter.
- getResolver(CommandParameter) - Method in class revxrsal.commands.core.BaseCommandHandler
- getResponseHandler() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the response handler of this command.
- getRootPaths() - Method in interface revxrsal.commands.CommandHandler
-
Returns all the root commands or categories paths in this command handler.
- getRootPaths() - Method in class revxrsal.commands.core.BaseCommandHandler
- getScanner() - Method in interface revxrsal.commands.cli.ConsoleActor
-
Returns the
Scanner
that is being polled for input. - getScanner() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getSelectedEntity(Type) - Static method in class revxrsal.commands.bukkit.core.BukkitHandler
- getSender() - Method in interface revxrsal.commands.bukkit.BukkitCommandActor
-
Returns the underlying
CommandSender
of this actor - getSender() - Method in class revxrsal.commands.bukkit.core.BukkitActor
- getSender() - Method in interface revxrsal.commands.bungee.BungeeCommandActor
-
The underlying
CommandSender
for this subject - getSender() - Method in class revxrsal.commands.bungee.core.BungeeActor
- getSender(Class<?>, CommandActor, ExecutableCommand) - Method in class revxrsal.commands.bukkit.adventure.AudienceSenderResolver
- getSender(Class<?>, CommandActor, ExecutableCommand) - Method in interface revxrsal.commands.process.SenderResolver
-
Returns the custom sender value from the given context
- getServer() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getServer() - Method in class revxrsal.commands.velocity.core.VelocityHandler
- getServer() - Method in interface revxrsal.commands.velocity.VelocityCommandActor
-
Returns the
ProxyServer
of this actor - getServer() - Method in interface revxrsal.commands.velocity.VelocityCommandHandler
-
Returns the
ProxyServer
this command handler was registered on. - getSnowflake(String) - Static method in class revxrsal.commands.util.Strings
- getSource() - Method in class revxrsal.commands.sponge.core.SpongeActor
- getSource() - Method in interface revxrsal.commands.sponge.SpongeCommandActor
-
Returns the underlying
CommandSource
being wrapped by this actor. - getSource() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getSource() - Method in interface revxrsal.commands.velocity.VelocityCommandActor
-
Returns the underlying
CommandSource
being wrapped by this actor. - getSourceString() - Method in exception revxrsal.commands.exception.ArgumentParseException
-
Returns the source string arguments are being parsed from.
- getSubcommandPath() - Method in class revxrsal.commands.core.CommandPath
-
Returns the subcommand path of this command path.
- getSuggestionProvider() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the
SuggestionProvider
of this parameter. - getSuggestionProvider(String) - Method in interface revxrsal.commands.autocomplete.AutoCompleter
-
Returns the suggestion provider that maps to the specified ID.
- getSuggestions(List<String>, CommandActor, ExecutableCommand) - Method in interface revxrsal.commands.autocomplete.SuggestionProvider
-
Returns the suggestions
- getSwitchName() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns the name of the switch.
- getSwitchPrefix() - Method in interface revxrsal.commands.CommandHandler
-
Returns the prefix that comes before all
Switch
parameters when they are fetched from the command. - getSwitchPrefix() - Method in class revxrsal.commands.core.BaseCommandHandler
- getTimeLeft(TimeUnit) - Method in exception revxrsal.commands.exception.CooldownException
-
Returns the time left in the given unit
- getTimeLeftMillis() - Method in exception revxrsal.commands.exception.CooldownException
-
Returns the time left before being able to execute again
- getTranslator() - Method in interface revxrsal.commands.command.CommandActor
-
Shortcut to
CommandHandler.getTranslator()
- getTranslator() - Method in interface revxrsal.commands.CommandHandler
-
Returns the translator of this command handler
- getTranslator() - Method in class revxrsal.commands.core.BaseCommandHandler
- getType() - Method in interface revxrsal.commands.command.CommandParameter
-
The runtime-present type of this parameter
- getType(Object) - Static method in class revxrsal.commands.util.Primitives
-
Returns the type of the given object
- getUniqueId() - Method in class revxrsal.commands.bukkit.core.BukkitActor
- getUniqueId() - Method in class revxrsal.commands.bungee.core.BungeeActor
- getUniqueId() - Method in class revxrsal.commands.cli.core.CommandLineActor
- getUniqueId() - Method in interface revxrsal.commands.command.CommandActor
-
Returns the unique UID of this subject.
- getUniqueId() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getUniqueId() - Method in class revxrsal.commands.sponge.core.SpongeActor
- getUniqueId() - Method in class revxrsal.commands.velocity.core.VelocityActor
- getUsage() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns the command usage.
- getUser() - Method in class revxrsal.commands.jda.core.BaseActorJDA
- getUser() - Method in interface revxrsal.commands.jda.JDAActor
-
Returns the underlying
User
of this actor - getValidators() - Method in interface revxrsal.commands.command.CommandParameter
-
Returns all the validators of the parameter
- getValueParameters() - Method in interface revxrsal.commands.command.ExecutableCommand
-
Returns all the parameters of this command that are resolveable from command arguments (i.e.
- GREEK - Static variable in class revxrsal.commands.locales.Locales
- GuildOnly - Annotation Interface in revxrsal.commands.jda.annotation
- guildOnlyCommand(CommandActor, GuildOnlyCommandException) - Method in class revxrsal.commands.jda.exception.JDAExceptionAdapter
- GuildOnlyCommandException - Exception in revxrsal.commands.jda.exception
-
Thrown when a guild-only command is used in a private channel.
- GuildOnlyCommandException() - Constructor for exception revxrsal.commands.jda.exception.GuildOnlyCommandException
- GuildPermission - Annotation Interface in revxrsal.commands.jda.annotation
All Classes and Interfaces|All Packages|Serialized Form