A C D E F G H J K N R T U V 
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 CommandAttribute that the AbstractCommand which is annotated with this CommandDescription has.

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 CommandDescription annotation.
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 CommandHandler which deals with the registered AbstractCommands.
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 AbstractCommand which is annotated with this CommandDescription has.

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 found AbstractCommand is not null
findCommand(String) - Method in class com.github.rainestormee.jdacommand.CommandHandler
Method which attempts to find a AbstractCommand from the given trigger

G

getAttribute(String) - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
Returns the String that the given CommandAttribute contains.
getAttributes() - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
Return the CommandAttributes that are contained within the CommandDescription annotator
getCommands() - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to get all of the AbstractCommands registered with this CommandHandler
getDescription() - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
Get the CommandDescription that annotates this AbstractCommand

H

hasAttribute(String) - Method in interface com.github.rainestormee.jdacommand.AbstractCommand
Returns if the CommandDescription contains a CommandAttribute with 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 AbstractCommand which is annotated with this CommandDescription

R

registerCommand(AbstractCommand) - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to register a AbstractCommand with this CommandHandler.
registerCommands(AbstractCommand...) - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to register AbstractCommands with this CommandHandler.
registerCommands(Set<AbstractCommand>) - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to register AbstractCommands with this CommandHandler.

T

triggers() - Method in annotation type com.github.rainestormee.jdacommand.CommandDescription
This represents an array of Strings which could trigger the AbstractCommand which is annotated with this CommandDescription has.

U

unregisterCommand(AbstractCommand) - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to unregister a AbstractCommand with this CommandHandler.
unregisterCommands(AbstractCommand...) - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to unregister AbstractCommands with this CommandHandler.
unregisterCommands(Set<AbstractCommand>) - Method in class com.github.rainestormee.jdacommand.CommandHandler
A method to unregister AbstractCommands with this CommandHandler.

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.
A C D E F G H J K N R T U V 
All Classes All Packages