Index

A B C D E F G I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

addInternalModules(Module...) - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
Adds internal module(s) to memory.
addInternalModules(Module...) - Method in class enterprises.iwakura.modularbot.ModularBot
Adds internal module.
addInternalModules(Module...) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Adds internal module(s) to memory.

B

BootstrapMain - Class in enterprises.iwakura.modularbot
 
BootstrapMain() - Constructor for class enterprises.iwakura.modularbot.BootstrapMain
 

C

cancel() - Method in interface enterprises.iwakura.modularbot.base.ModuleTask
Cancels the task
cancel() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleRunnable
Removes this task from the Module's scheduler, however, does not interrupt any running tasks
cancel() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleTaskTimer
 
cancelTasks() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Cancels all ModuleTasks
connect() - Method in class enterprises.iwakura.modularbot.ModularBotShardManager
Connects to Discord
Should not be called more than once.
copyDefaultsIfEmpty() - Method in class enterprises.iwakura.modularbot.objects.ModuleConfig
Copies default config if empty
createActivity(String, Function<JDA, Activity>) - Method in class enterprises.iwakura.modularbot.objects.activity.ModuleActivities
Adds Activity to internal list that Modular Bot will use
createInternalModuleInfo(String, String, String, boolean, String[], String[], String[], String[]) - Static method in class enterprises.iwakura.modularbot.objects.ModuleInfo
Creates ModuleInfo for internal use
createInternalModuleInfo(String, String, String) - Static method in class enterprises.iwakura.modularbot.objects.ModuleInfo
Creates ModuleInfo for internal use

D

debug(String) - Method in class enterprises.iwakura.modularbot.amber.ModuleAmberLogger
 
DefaultModuleManager - Class in enterprises.iwakura.modularbot.managers
 
DefaultModuleManager(ModularBotIrminsul) - Constructor for class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 
DISABLED - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
DISABLING - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
Discord() - Constructor for class enterprises.iwakura.modularbot.config.ModularBotConfig.Discord
 

E

ENABLED - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
enableModule(Module) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Enables module.
enableModule(Module) - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 
enableModules() - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Enables all modules.
enableModules() - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 
ENABLING - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
enterprises.iwakura.modularbot - package enterprises.iwakura.modularbot
 
enterprises.iwakura.modularbot.amber - package enterprises.iwakura.modularbot.amber
 
enterprises.iwakura.modularbot.base - package enterprises.iwakura.modularbot.base
 
enterprises.iwakura.modularbot.classloader - package enterprises.iwakura.modularbot.classloader
 
enterprises.iwakura.modularbot.concurrent - package enterprises.iwakura.modularbot.concurrent
 
enterprises.iwakura.modularbot.config - package enterprises.iwakura.modularbot.config
 
enterprises.iwakura.modularbot.console - package enterprises.iwakura.modularbot.console
 
enterprises.iwakura.modularbot.irminsul - package enterprises.iwakura.modularbot.irminsul
 
enterprises.iwakura.modularbot.managers - package enterprises.iwakura.modularbot.managers
 
enterprises.iwakura.modularbot.objects - package enterprises.iwakura.modularbot.objects
 
enterprises.iwakura.modularbot.objects.activity - package enterprises.iwakura.modularbot.objects.activity
 
enterprises.iwakura.modularbot.sigewine - package enterprises.iwakura.modularbot.sigewine
 
enterprises.iwakura.modularbot.util - package enterprises.iwakura.modularbot.util
 
error(String, Throwable) - Method in class enterprises.iwakura.modularbot.amber.ModuleAmberLogger
 
error(String, Throwable) - Method in class enterprises.iwakura.modularbot.console.ModularBotGanyuOutput
 
execute(CommandInvocationContext) - Method in class enterprises.iwakura.modularbot.console.StopConsoleCommand
 

F

FAILED - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
FILE_NAME_MODULE_CONFIG - Static variable in class enterprises.iwakura.modularbot.ModularBotConstants
 
FILE_NAME_MODULE_INFO - Static variable in class enterprises.iwakura.modularbot.ModularBotConstants
 
finish() - Method in class enterprises.iwakura.modularbot.ModularBotShardManager
Finishes and builds ShardManager

G

ganyu() - Method in class enterprises.iwakura.modularbot.sigewine.GanyuTreatment
 
GanyuTreatment - Class in enterprises.iwakura.modularbot.sigewine
 
GanyuTreatment() - Constructor for class enterprises.iwakura.modularbot.sigewine.GanyuTreatment
 
get() - Static method in class enterprises.iwakura.modularbot.ModularBot
Returns the singleton instance of ModularBot
get() - Method in class enterprises.iwakura.modularbot.ModularBotShardManager
Returns ShardManager
getActivities() - Method in class enterprises.iwakura.modularbot.objects.activity.ModuleActivities
Returns unmodifiable list of ModuleActivity
getModuleByName(String) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Gets Module from loaded modules in memory by module name
getModules() - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Returns list of loaded modules in memory.
getModules() - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
Returns list of loaded modules in memory.
getOwner() - Method in interface enterprises.iwakura.modularbot.base.ModuleTask
Returns task's owner
getOwner() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleTaskTimer
 
getUUID() - Method in interface enterprises.iwakura.modularbot.base.ModuleTask
Returns task's UUID
getUUID() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleRunnable
Task's UUID
getUUID() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleTaskTimer
 
getVersion() - Static method in class enterprises.iwakura.modularbot.ModularBotConstants
Returns Modular Bot's version

I

info(String) - Method in class enterprises.iwakura.modularbot.amber.ModuleAmberLogger
 
info(String) - Method in class enterprises.iwakura.modularbot.console.ModularBotGanyuOutput
 
init() - Method in class enterprises.iwakura.modularbot.ModularBotShardManager
Initializes ShardManager
initPresenceActivityCycle() - Method in class enterprises.iwakura.modularbot.ModularBotShardManager
Initializes Presence Activity Cycle
InputStreamUtils - Class in enterprises.iwakura.modularbot.util
 
INVALID_SHARD_ID - Static variable in class enterprises.iwakura.modularbot.ModularBotShardManager
 
Irminsul() - Constructor for class enterprises.iwakura.modularbot.config.ModularBotConfig.Irminsul
 
isCancelled() - Method in interface enterprises.iwakura.modularbot.base.ModuleTask
Determines if the task was cancelled
isCancelled() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleRunnable
 
isCancelled() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleTaskTimer
 
isModuleLoaded(String) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Determines if specified module is loaded in memory
isRunning() - Method in interface enterprises.iwakura.modularbot.base.ModuleTask
Determines if the task is running
isRunning() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleTaskTimer
 

L

load() - Static method in class enterprises.iwakura.modularbot.config.ModularBotConfig
Loads the configuration from the config file
loadClass(String, boolean) - Method in class enterprises.iwakura.modularbot.classloader.ModuleClassLoader
 
LOADED - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
loadFromJsonObject(JsonObject) - Static method in class enterprises.iwakura.modularbot.objects.ModuleInfo
Loads ModuleInfo from JsonObject
LOADING - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
loadModule(Module) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Loads module (must call Module.onLoad()
loadModule(Module) - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 
loadModules() - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Loads modules from file system to memory.
loadModules() - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 

M

main(String[]) - Static method in class enterprises.iwakura.modularbot.BootstrapMain
 
main(String[]) - Static method in class enterprises.iwakura.modularbot.ModularBotMain
 
ModularBot - Class in enterprises.iwakura.modularbot
 
ModularBot(Ganyu, ModularBotShardManager, ModularBotConfig, DefaultModuleManager) - Constructor for class enterprises.iwakura.modularbot.ModularBot
 
modularBotConfig() - Method in class enterprises.iwakura.modularbot.sigewine.ModularBotConfigTreatment
 
ModularBotConfig - Class in enterprises.iwakura.modularbot.config
Modular Bot Config
ModularBotConfig() - Constructor for class enterprises.iwakura.modularbot.config.ModularBotConfig
 
ModularBotConfig.Discord - Class in enterprises.iwakura.modularbot.config
Discord related settings
ModularBotConfig.Discord.PresenceActivityCycle - Class in enterprises.iwakura.modularbot.config
 
ModularBotConfig.Discord.ShardManager - Class in enterprises.iwakura.modularbot.config
 
ModularBotConfig.Irminsul - Class in enterprises.iwakura.modularbot.config
 
ModularBotConfigTreatment - Class in enterprises.iwakura.modularbot.sigewine
 
ModularBotConfigTreatment() - Constructor for class enterprises.iwakura.modularbot.sigewine.ModularBotConfigTreatment
 
ModularBotConstants - Class in enterprises.iwakura.modularbot
Modular Bot Constants
ModularBotGanyuOutput - Class in enterprises.iwakura.modularbot.console
Output implementation for ModularBot's Ganyu
ModularBotGanyuOutput() - Constructor for class enterprises.iwakura.modularbot.console.ModularBotGanyuOutput
 
modularBotIrminsul() - Method in class enterprises.iwakura.modularbot.sigewine.ModularBotIrminsulTreatment
 
ModularBotIrminsul - Class in enterprises.iwakura.modularbot.irminsul
 
ModularBotIrminsul(DatabaseServiceConfiguration) - Constructor for class enterprises.iwakura.modularbot.irminsul.ModularBotIrminsul
 
ModularBotIrminsulTreatment - Class in enterprises.iwakura.modularbot.sigewine
 
ModularBotIrminsulTreatment() - Constructor for class enterprises.iwakura.modularbot.sigewine.ModularBotIrminsulTreatment
 
ModularBotMain - Class in enterprises.iwakura.modularbot
 
ModularBotMain() - Constructor for class enterprises.iwakura.modularbot.ModularBotMain
 
ModularBotShardManager - Class in enterprises.iwakura.modularbot
 
ModularBotShardManager() - Constructor for class enterprises.iwakura.modularbot.ModularBotShardManager
 
ModularConsoleCommand - Class in enterprises.iwakura.modularbot.console
 
ModularConsoleCommand() - Constructor for class enterprises.iwakura.modularbot.console.ModularConsoleCommand
 
Module - Class in enterprises.iwakura.modularbot.base
 
Module() - Constructor for class enterprises.iwakura.modularbot.base.Module
 
MODULE_CONFIG_BEAN_NAME - Static variable in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 
ModuleActivities - Class in enterprises.iwakura.modularbot.objects.activity
Manages Module's Presence Activities
ModuleActivities(Module) - Constructor for class enterprises.iwakura.modularbot.objects.activity.ModuleActivities
Creates new ModuleActivities
ModuleActivity - Class in enterprises.iwakura.modularbot.objects.activity
Module's presence activity
ModuleAmberLogger - Class in enterprises.iwakura.modularbot.amber
 
ModuleAmberLogger() - Constructor for class enterprises.iwakura.modularbot.amber.ModuleAmberLogger
 
ModuleClassLoader - Class in enterprises.iwakura.modularbot.classloader
Module's class loader
ModuleClassLoader(List<Path>, ClassLoader, List<ClassLoader>) - Constructor for class enterprises.iwakura.modularbot.classloader.ModuleClassLoader
Creates new class loader for specified jar file with specified ClassLoader as parent
ModuleConfig - Class in enterprises.iwakura.modularbot.objects
Module config
ModuleConfig(ModuleInfo, JsonObject) - Constructor for class enterprises.iwakura.modularbot.objects.ModuleConfig
Creates new ModuleConfig
ModuleInfo - Class in enterprises.iwakura.modularbot.objects
Module info
ModuleInfo() - Constructor for class enterprises.iwakura.modularbot.objects.ModuleInfo
 
ModuleManager - Interface in enterprises.iwakura.modularbot.base
Module manager
ModuleRunnable - Class in enterprises.iwakura.modularbot.concurrent
Module's async runnable task
ModuleScheduler - Class in enterprises.iwakura.modularbot.concurrent
Scheduler for Module's tasks
ModuleScheduler(Module) - Constructor for class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Creates new ModuleScheduler
ModuleStatus - Enum Class in enterprises.iwakura.modularbot.objects
 
ModuleTask - Interface in enterprises.iwakura.modularbot.base
Base for the Module's tasks
ModuleTaskTimer - Class in enterprises.iwakura.modularbot.concurrent
Holds task which is run on a Timer

N

NOT_LOADED - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 

O

onCommandClientBuilderInitialization(CommandClientBuilder) - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when the JDA Utilities' CommandClientBuilder is initializing.
onConsoleCommandRegistration(Ganyu) - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when Modular Bot is registering console commands
onDisable() - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when the module is disabling
onEnable() - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when the module is enabling
onLoad() - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when the module is loaded
onShardManagerBuilderInitialization(DefaultShardManagerBuilder) - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when the JDA is initializing.
onUncaughtException(Throwable) - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when some exception is uncaught
onUnload() - Method in class enterprises.iwakura.modularbot.base.Module
This method is called when the module is unloaded
openFileAsInputStream(ZipFile, String) - Static method in class enterprises.iwakura.modularbot.util.InputStreamUtils
Tries to find specified name in specified ZipFile

P

PATH_FOLDER_JSON_DATA - Static variable in class enterprises.iwakura.modularbot.ModularBotConstants
 
PATH_FOLDER_MODULE_CONFIGS - Static variable in class enterprises.iwakura.modularbot.ModularBotConstants
 
PATH_FOLDER_MODULES - Static variable in class enterprises.iwakura.modularbot.ModularBotConstants
 
PATH_MODULAR_BOT_CONFIG - Static variable in class enterprises.iwakura.modularbot.ModularBotConstants
 
PresenceActivityCycle() - Constructor for class enterprises.iwakura.modularbot.config.ModularBotConfig.Discord.PresenceActivityCycle
 
processCommandClientBuilder(CommandClientBuilder) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
 
processException(Throwable) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
 
processGanyu(Ganyu) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
 
processShardBuilder(DefaultShardManagerBuilder) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
 

R

readStreamAsString(InputStream) - Static method in class enterprises.iwakura.modularbot.util.InputStreamUtils
Reads InputStream as a string
reload() - Method in class enterprises.iwakura.modularbot.objects.ModuleConfig
Reloads module's config
removeActivity(String) - Method in class enterprises.iwakura.modularbot.objects.activity.ModuleActivities
Removes all Activity by their name from internal map.
removeTask(ModuleTask) - Method in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Removes ModuleTask
runAsync(Runnable) - Method in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Creates asynchronous task

S

save() - Method in class enterprises.iwakura.modularbot.config.ModularBotConfig
Saves the configuration to the config file
save() - Method in class enterprises.iwakura.modularbot.objects.ModuleConfig
Saves module's config
schedule(Runnable, long) - Method in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Schedules periodical task
schedule(Runnable, long, long) - Method in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Schedules periodical task
scheduleFixed(Runnable, long, long) - Method in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
Schedules fixed periodical task
ShardManager() - Constructor for class enterprises.iwakura.modularbot.config.ModularBotConfig.Discord.ShardManager
 
showAllModules() - Method in class enterprises.iwakura.modularbot.console.ModularConsoleCommand
 
showShards(Boolean) - Method in class enterprises.iwakura.modularbot.console.ModularConsoleCommand
 
shutdown() - Method in class enterprises.iwakura.modularbot.ModularBot
Shutdowns ModularDiscordBot
shutdown() - Method in class enterprises.iwakura.modularbot.ModularBotShardManager
Shutdowns ShardManager
start() - Method in interface enterprises.iwakura.modularbot.base.ModuleTask
Starts the task
start() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleRunnable
 
start() - Method in class enterprises.iwakura.modularbot.concurrent.ModuleTaskTimer
 
start(String[]) - Method in class enterprises.iwakura.modularbot.ModularBot
 
StopConsoleCommand - Class in enterprises.iwakura.modularbot.console
 
StopConsoleCommand() - Constructor for class enterprises.iwakura.modularbot.console.StopConsoleCommand
 

T

THREAD_NAME_FORMAT - Static variable in class enterprises.iwakura.modularbot.concurrent.ModuleScheduler
 

U

UNLOADING - Enum constant in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
 
unloadModule(Module) - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Disables (if needed) and unloads module
unloadModule(Module) - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 
unloadModules() - Method in interface enterprises.iwakura.modularbot.base.ModuleManager
Unloads all modules.
unloadModules() - Method in class enterprises.iwakura.modularbot.managers.DefaultModuleManager
 

V

valueOf(String) - Static method in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
Returns the enum constant of this class with the specified name.
values() - Static method in enum class enterprises.iwakura.modularbot.objects.ModuleStatus
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values