A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- get(String) - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns the value to which the specified parameter name is mapped with an optional implicit downcast, or an empty
Optional
if this parameters instance contains no mapping for the name. - get(String, Supplier<R>) - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns the value to which the specified parameter name is mapped with an optional implicit downcast, or a default value returned by the given supplier if this parameters instance contains no mapping for the name.
- get(String, R) - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns the value to which the specified parameter name is mapped with an optional implicit downcast, or the given default value if this parameters instance contains no mapping for the name.
- getAdditionalData(String) - Method in class net.kautler.command.api.CommandContext
-
Returns the additional data value to which the specified key is mapped with an optional implicit downcast, or an empty
Optional
if this command context contains no additional data for the key. - getAdditionalData(String, Supplier<R>) - Method in class net.kautler.command.api.CommandContext
-
Returns the additional data value to which the specified key is mapped with an optional implicit downcast, or a default value returned by the given supplier if this command context contains no additional data for the key.
- getAdditionalData(String, R) - Method in class net.kautler.command.api.CommandContext
-
Returns the additional data value to which the specified key is mapped with an optional implicit downcast, or the given default value if this command context contains no additional data for the key.
- getAlias() - Method in class net.kautler.command.api.CommandContext
-
Returns the alias of the triggered command.
- getAliases() - Method in interface net.kautler.command.api.Command
-
Returns the aliases for this command.
- getAsMap() - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns an unmodifiable
Map
view of this parameters instance with an optional implicit downcast for the values. - getBuildTimestamp() - Method in class net.kautler.command.api.Version
-
Returns the build timestamp at which this library was built.
- getCommand() - Method in class net.kautler.command.api.CommandContext
-
Returns the command that is triggered.
- getCommandContext() - Method in class net.kautler.command.api.event.CommandEvent
-
Returns the command context payload of this command event.
- getCommitId() - Method in class net.kautler.command.api.Version
-
Returns the commit ID from which this library was built.
- getDescription() - Method in interface net.kautler.command.api.Command
-
Returns the description of this command.
- getDisplayVersion() - Method in class net.kautler.command.api.Version
-
Returns the display version of this library.
- getEntries() - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns an unmodifiable
Set
view of the mapping entries contained in this parameters instance with an optional implicit downcast for the value. - getMessage() - Method in class net.kautler.command.api.CommandContext
-
Returns the message that triggered the command processing.
- getMessageContent() - Method in class net.kautler.command.api.CommandContext
-
Returns the content of the message that triggered the command processing.
- getOptions() - Method in interface net.kautler.command.api.slash.javacord.SlashCommandJavacord
-
Returns the slash command options of this command that should be used when registering the command.
- getParameterConverterTypeLiteralByMessageType() - Method in class net.kautler.command.api.CommandHandler
-
Returns the map entry for mapping the message class to a parameter converter type literal.
- getParameterName() - Method in exception net.kautler.command.api.parameter.ParameterParseException
-
Returns the name of the parameter that was parsed.
- getParameterNames() - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns an unmodifiable
Set
view of the parameter names contained in this parameters instance. - getParameters() - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns this parameters instance with an optional implicit downcast for the values.
- getParameters(String, int) - Static method in interface net.kautler.command.api.Command
-
Returns an array of parameters from the given parameter string.
- getParameterString() - Method in class net.kautler.command.api.CommandContext
-
Returns the parameter string to be processed by the triggered command.
- getParameterValue() - Method in exception net.kautler.command.api.parameter.ParameterParseException
-
Returns the value of the parameter that was parsed.
- getPrefix() - Method in class net.kautler.command.api.CommandContext
-
Returns the prefix that the message has to start with to trigger a command.
- getRealClass() - Method in interface net.kautler.command.api.restriction.Restriction
-
Returns the real class of this restriction.
- getRestrictionChain() - Method in interface net.kautler.command.api.Command
-
Returns the restriction rules chain for this command.
- getUsage() - Method in interface net.kautler.command.api.Command
-
Returns the usage of this command.
- getValues() - Method in interface net.kautler.command.api.parameter.Parameters
-
Returns an unmodifiable
Collection
view of the values contained in this parameters instance with an optional implicit downcast. - getVersion() - Method in class net.kautler.command.api.Version
-
Returns the version of this library.
- GuildJda - Class in net.kautler.command.api.restriction.jda
-
A restriction that allows a command in certain guilds and is evaluated by the JDA command handler.
- GuildJda(long) - Constructor for class net.kautler.command.api.restriction.jda.GuildJda
-
Constructs a new guild restriction for checking the guild ID.
- GuildJda(String) - Constructor for class net.kautler.command.api.restriction.jda.GuildJda
-
Constructs a new guild restriction for checking the guild name case-sensitively against a fixed name.
- GuildJda(String, boolean) - Constructor for class net.kautler.command.api.restriction.jda.GuildJda
-
Constructs a new guild restriction for checking the guild name against a fixed name.
- GuildJda(Pattern) - Constructor for class net.kautler.command.api.restriction.jda.GuildJda
-
Constructs a new guild restriction for checking the guild name against a regular expression.
- GuildOwnerJda - Class in net.kautler.command.api.restriction.jda
-
A restriction that allows a command for the guild owner and is evaluated by the JDA command handler.
- GuildOwnerJda() - Constructor for class net.kautler.command.api.restriction.jda.GuildOwnerJda
All Classes All Packages