A C D E F G H J K N R T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCommand<T> - Interface in com.github.rainestormee.jdacommand
-
This represents a generic command.
- attributes() - Method in annotation type com.github.rainestormee.jdacommand.CommandDescription
-
This represents an Array of
CommandAttributethat theAbstractCommandwhich is annotated with thisCommandDescriptionhas.
C
- com.github.rainestormee.jdacommand - package com.github.rainestormee.jdacommand
- CommandAttribute - Annotation Type in com.github.rainestormee.jdacommand
-
This can be used for extra attributes in the
CommandDescriptionannotation. - CommandDescription - Annotation Type in com.github.rainestormee.jdacommand
-
This is for annotating classes which extend
AbstractCommand - CommandHandler<T> - Class in com.github.rainestormee.jdacommand
-
The
CommandHandlerwhich deals with the registeredAbstractCommands. - CommandHandler() - Constructor for class com.github.rainestormee.jdacommand.CommandHandler
- compareTo(AbstractCommand<T>) - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
D
- description() - Method in annotation type com.github.rainestormee.jdacommand.CommandDescription
-
This represents the description of the
AbstractCommandwhich is annotated with thisCommandDescriptionhas.
E
- execute(AbstractCommand, T, String) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
Method which attempts to execute the given
AbstractCommand. - execute(T, String) - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
-
Execute this command.
F
- findAndExecute(String, T, String) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method which calls
CommandHandler.findCommand(String), and then#execute(AbstractCommand, T, String)if the foundAbstractCommandis notnull - findCommand(String) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
Method which attempts to find a
AbstractCommandfrom the given trigger
G
- getAttribute(String) - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
-
Returns the
Stringthat the givenCommandAttributecontains. - getAttributes() - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
-
Return the
CommandAttributes that are contained within theCommandDescriptionannotator - getCommands() - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to get all of the
AbstractCommands registered with thisCommandHandler - getDescription() - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
-
Get the
CommandDescriptionthat annotates thisAbstractCommand
H
- hasAttribute(String) - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
-
Returns if the
CommandDescriptioncontains aCommandAttributewith the given key.
J
- JDACommandInfo - Class in com.github.rainestormee.jdacommand
-
This represents information about JDA-Command
- JDACommandInfo() - Constructor for class com.github.rainestormee.jdacommand.JDACommandInfo
K
- key() - Method in annotation type com.github.rainestormee.jdacommand.CommandAttribute
-
The key which identifies the attribute.
N
- name() - Method in annotation type com.github.rainestormee.jdacommand.CommandDescription
-
This represents the name of the
AbstractCommandwhich is annotated with thisCommandDescription
R
- registerCommand(AbstractCommand) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to register a
AbstractCommandwith thisCommandHandler. - registerCommands(AbstractCommand...) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to register
AbstractCommands with thisCommandHandler. - registerCommands(Set<AbstractCommand>) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to register
AbstractCommands with thisCommandHandler.
T
- triggers() - Method in annotation type com.github.rainestormee.jdacommand.CommandDescription
-
This represents an array of Strings which could trigger the
AbstractCommandwhich is annotated with thisCommandDescriptionhas.
U
- unregisterCommand(AbstractCommand) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to unregister a
AbstractCommandwith thisCommandHandler. - unregisterCommands(AbstractCommand...) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to unregister
AbstractCommands with thisCommandHandler. - unregisterCommands(Set<AbstractCommand>) - Method in class com.github.rainestormee.jdacommand.CommandHandler
-
A method to unregister
AbstractCommands with thisCommandHandler.
V
- value() - Method in annotation type com.github.rainestormee.jdacommand.CommandAttribute
-
The value of the attribute.
- VERSION - Static variable in class com.github.rainestormee.jdacommand.JDACommandInfo
-
The current version of this library.
All Classes All Packages