Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractDatabase - Class in net.foxgenesis.watame.sql
-
NEED_JAVADOC
- AbstractDatabase(DatabaseProperties) - Constructor for class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- AbstractDatabase.StatementConsumer - Interface in net.foxgenesis.watame.sql
- AbstractDatabase.StatementFunction<R> - Interface in net.foxgenesis.watame.sql
- accept(PreparedStatement) - Method in interface net.foxgenesis.watame.sql.AbstractDatabase.StatementConsumer
- accept(T, U, R) - Method in interface net.foxgenesis.util.function.TriConsumer
-
Performs this operation on the given arguments.
- addCloseHandler(Runnable) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- addEventListeners(Object...) - Method in class net.foxgenesis.watame.WatameBot.ProtectedJDABuilder
-
Adds all provided listeners to the list of listeners that will be used to populate the
JDAobject. - addGuild(Guild) - Method in class net.foxgenesis.watame.sql.DataManager
-
Register a guild to be loaded during data retrieval.
- andThen(TriConsumer<? super T, ? super U, ? super R>) - Method in interface net.foxgenesis.util.function.TriConsumer
-
Returns a composed
TriConsumerthat performs, in sequence, this operation followed by theafteroperation. - apply(PreparedStatement) - Method in interface net.foxgenesis.watame.sql.AbstractDatabase.StatementFunction
- argumentCount() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- ArrayField - Class in net.foxgenesis.config.fields
- ArrayField(String, Function<Guild, JSONArray>, boolean) - Constructor for class net.foxgenesis.config.fields.ArrayField
- assertRawStatement(String) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
B
- BLOB - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- BooleanField - Class in net.foxgenesis.config.fields
- BooleanField(String, Function<Guild, Boolean>, boolean) - Constructor for class net.foxgenesis.config.fields.BooleanField
C
- callStatement(String, AbstractDatabase.StatementConsumer) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- callStatement(String, AbstractDatabase.StatementConsumer, Consumer<SQLException>) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- ChannelField - Class in net.foxgenesis.config.fields
- ChannelField(String, Function<Guild, Channel>, boolean) - Constructor for class net.foxgenesis.config.fields.ChannelField
- CHAR - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- clear() - Method in class net.foxgenesis.config.KVPFile
-
Clear the configuration mapping.
- clear() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- CLOB - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- close() - Method in class net.foxgenesis.watame.sql.AbstractDatabase
- close() - Method in class net.foxgenesis.watame.sql.DataManager
- close() - Method in class net.foxgenesis.watame.sql.GuildData
- ConfigField<E> - Class in net.foxgenesis.config.fields
- ConfigField(String, Function<Guild, E>, boolean) - Constructor for class net.foxgenesis.config.fields.ConfigField
- connect() - Method in class net.foxgenesis.watame.sql.DataManager
-
Attempt to connect to the database.
- Constants - Class in net.foxgenesis.watame
- Constants() - Constructor for class net.foxgenesis.watame.Constants
- CONSTRUCTING - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
-
NEED_JAVADOC
- CONTAINS_URL - Static variable in class net.foxgenesis.util.StringUtils
-
NEED_JAVADOC
- containsKey(String) - Method in class net.foxgenesis.config.KVPFile
-
Returns
trueif this map contains a mapping for the specified key. - CustomHighlight - Class in net.foxgenesis.log
- CustomHighlight() - Constructor for class net.foxgenesis.log.CustomHighlight
D
- data - Variable in class net.foxgenesis.config.fields.StorageHandler
- DATABASE_ACCESS_ERROR - Enum constant in enum class net.foxgenesis.watame.ExitCode
- DATABASE_INVALID_SETUP_FILE - Enum constant in enum class net.foxgenesis.watame.ExitCode
- DATABASE_NOT_CONNECTED - Enum constant in enum class net.foxgenesis.watame.ExitCode
- DATABASE_OPERATIONS_FILE - Static variable in class net.foxgenesis.watame.Constants
- DATABASE_SETUP_ERROR - Enum constant in enum class net.foxgenesis.watame.ExitCode
- DATABASE_SETUP_FILE - Static variable in class net.foxgenesis.watame.Constants
- DATABASE_STATEMENT_ERROR - Enum constant in enum class net.foxgenesis.watame.ExitCode
- DATABASE_STATEMENT_MISSING - Enum constant in enum class net.foxgenesis.watame.ExitCode
- DatabaseLoadedEvent(JDA, IDatabaseManager) - Constructor for class net.foxgenesis.watame.sql.DataManager.DatabaseLoadedEvent
- DatabaseProperties - Record Class in net.foxgenesis.watame.sql
- DatabaseProperties(Supplier<DataSource>) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(Supplier<DataSource>, URL) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(Supplier<DataSource>, URL, String) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(Supplier<DataSource>, URL, URL, String) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(DataSource) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(DataSource, URL) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(DataSource, URL, String) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
- DatabaseProperties(DataSource, URL, URL, String) - Constructor for record class net.foxgenesis.watame.sql.DatabaseProperties
-
Creates an instance of a
DatabasePropertiesrecord class. - dataManager - Variable in class net.foxgenesis.watame.sql.DataManager.DatabaseLoadedEvent
- DataManager - Class in net.foxgenesis.watame.sql
-
Class to connect and retrieve data from a database
- DataManager() - Constructor for class net.foxgenesis.watame.sql.DataManager
-
Create a new instance using the default database folder of "./
repo/". - DataManager(File) - Constructor for class net.foxgenesis.watame.sql.DataManager
-
Create a new instance using the specified folder as the repository folder.
- DataManager.DatabaseLoadedEvent - Class in net.foxgenesis.watame.sql
- DATE - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- DEC - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- description() - Element in annotation interface net.foxgenesis.watame.plugin.PluginProperties
-
Get the description of the plugin
- DiscordUtils - Class in net.foxgenesis.watame.util
-
Utility class for Discord related things.
- DiscordUtils() - Constructor for class net.foxgenesis.watame.util.DiscordUtils
- DOUBLE_PRECISION - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
E
- equals(Object) - Method in class net.foxgenesis.config.fields.StorageKey
- equals(Object) - Method in record class net.foxgenesis.util.ResourceUtils.ModuleResource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Indicates whether some other object is "equal to" this one.
- ExitCode - Enum Class in net.foxgenesis.watame
-
Enum of program exit codes
F
- findURLWithGroups(String) - Static method in class net.foxgenesis.util.StringUtils
-
Find all URLs within a String and split its components into groups.
- flagCount() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- FLOAT - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- forEach(BiConsumer<? super String, ? super String>) - Method in class net.foxgenesis.config.KVPFile
-
Performs the given action for each entry in this map until all entrieshave been processed or the action throws an exception.
- from(Guild) - Method in class net.foxgenesis.config.fields.ConfigField
G
- get(String) - Method in class net.foxgenesis.config.KVPFile
-
Returns the value to which the specified key is mapped, or
nullif this map contains no mapping for the key. - getArguments() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- getBotMember(Guild) - Static method in class net.foxgenesis.watame.util.DiscordUtils
-
NEED_JAVADOC
- getCode() - Method in enum class net.foxgenesis.watame.ExitCode
-
Returns the
ExitCode's number. - getConfig() - Method in class net.foxgenesis.watame.sql.GuildData
- getConfig() - Method in interface net.foxgenesis.watame.sql.IGuildData
-
Get the guild JSON configuration.
- getDatabase() - Method in class net.foxgenesis.watame.WatameBot
-
NEED_JAVADOC
- getDataForGuild(Guild) - Method in class net.foxgenesis.config.fields.ConfigField
- getDataForGuild(Guild) - Method in class net.foxgenesis.watame.sql.DataManager
- getDataForGuild(Guild) - Method in interface net.foxgenesis.watame.sql.IDatabaseManager
-
NEED_JAVADOC
- getDefaultValue(Guild) - Method in class net.foxgenesis.config.fields.ConfigField
- getDescription() - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
Get the description of this plugin.
- getForegroundColorCode(ILoggingEvent) - Method in class net.foxgenesis.log.CustomHighlight
- getGuild() - Method in class net.foxgenesis.watame.sql.GuildData
- getGuild() - Method in interface net.foxgenesis.watame.sql.IGuildData
-
Get the
Guildrepresented by this instance. - getInstance() - Static method in class net.foxgenesis.watame.WatameBot
-
Get the singleton instance of
WatameBot. - getJDA() - Method in class net.foxgenesis.watame.WatameBot
-
NEED_JAVADOC
- getLogChannel() - Method in class net.foxgenesis.watame.sql.GuildData
- getLogChannel() - Method in interface net.foxgenesis.watame.sql.IGuildData
-
Get the channel designated as the log channel.
- getMessage() - Method in exception net.foxgenesis.util.SingleInstanceUtil.SingleInstanceLockException
- getName() - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
Get the name of this plugin.
- getOrDefault(String, String) - Method in class net.foxgenesis.config.KVPFile
-
Returns the value to which the specified key is mapped, or
defaultValueif this map contains no mapping for the key. - getParameter(String) - Method in class net.foxgenesis.util.ProgramArguments
-
Get the value of parameter
key. - getParameters() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- getPluginClass() - Method in class net.foxgenesis.watame.plugin.UntrustedPluginLoader
-
Get the class of
UntrustedPluginLoader. - getPlugins() - Method in class net.foxgenesis.watame.plugin.UntrustedPluginLoader
-
Get all plugins of type
UntrustedPluginLoaderin the selected folder. - getPlugins(Function<ServiceLoader.Provider<T>, T>) - Method in class net.foxgenesis.watame.plugin.UntrustedPluginLoader
-
Get all plugins of type
UntrustedPluginLoaderin the selected folder. - getPropertiesResource(URL) - Static method in class net.foxgenesis.util.ResourceUtils
- getRawStatement(String) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- getState() - Method in class net.foxgenesis.watame.WatameBot
-
Get the current state of the bot.
- getTempData() - Method in class net.foxgenesis.watame.sql.GuildData
- getTempData() - Method in interface net.foxgenesis.watame.sql.IGuildData
-
Get the temporary data store for this instance.
- getVersion() - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
Get the version of this plugin.
- GuildData - Class in net.foxgenesis.watame.sql
-
Class used to contain guild database data.
H
- hasFlag(String) - Method in class net.foxgenesis.util.ProgramArguments
-
Check if the
program argumentscontains the flag "--key". - hashCode() - Method in class net.foxgenesis.config.fields.StorageKey
- hashCode() - Method in record class net.foxgenesis.util.ResourceUtils.ModuleResource
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Returns a hash code value for this object.
- hasParameter(String) - Method in class net.foxgenesis.util.ProgramArguments
-
Check if the
program argumentscontains the parameter "-key".
I
- IDatabaseManager - Interface in net.foxgenesis.watame.sql
- IGuildData - Interface in net.foxgenesis.watame.sql
-
Interface containing methods used to access
GuildDatainstances. - init(WatameBot.ProtectedJDABuilder) - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
NEED_JAVADOC
- INIT - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
-
NEED_JAVADOC
- INSTANCE_ALREADY_RUNNING - Enum constant in enum class net.foxgenesis.watame.ExitCode
- INT - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- INVALID_TOKEN - Enum constant in enum class net.foxgenesis.watame.ExitCode
- IPlugin - Interface in net.foxgenesis.watame.plugin
-
NEED_JAVADOC
- isConnectedToDiscord() - Method in class net.foxgenesis.watame.WatameBot
-
Check if this instances
JDAis built and connected to Discord. - isConnectionValid() - Method in class net.foxgenesis.watame.sql.DataManager
- isConnectionValid() - Method in interface net.foxgenesis.watame.sql.IDatabaseManager
-
Check if the database is connected and is ready for operations.
- isEditable - Variable in class net.foxgenesis.config.fields.ConfigField
- isEmpty() - Method in class net.foxgenesis.config.KVPFile
-
Checks if the configuration mapping is empty.
- isPresent(Guild) - Method in class net.foxgenesis.config.fields.ConfigField
- isPresent(JSONObjectAdv) - Method in class net.foxgenesis.config.fields.ConfigField
- isReady() - Method in class net.foxgenesis.watame.sql.DataManager
- isReady() - Method in interface net.foxgenesis.watame.sql.IDatabaseManager
-
Check if all guild data has been processed and is ready for use.
J
- JDA_BUILD_FAIL - Enum constant in enum class net.foxgenesis.watame.ExitCode
- JSON - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- JSONField - Class in net.foxgenesis.config.fields
- JSONField(String, Function<Guild, JSONObject>, boolean) - Constructor for class net.foxgenesis.config.fields.JSONField
- JSONObjectAdv - Class in net.foxgenesis.config.fields
- JSONObjectAdv(String, TriConsumer<String, Object, Boolean>) - Constructor for class net.foxgenesis.config.fields.JSONObjectAdv
K
- KVPFile - Class in net.foxgenesis.config
-
Key Value Pair (KVP) file implementation.
- KVPFile() - Constructor for class net.foxgenesis.config.KVPFile
-
Create a new instance with an empty mapping.
- KVPFile(File) - Constructor for class net.foxgenesis.config.KVPFile
-
Parse a
Fileinto a KVP (Key Value Pair) file. - KVPFile(InputStream) - Constructor for class net.foxgenesis.config.KVPFile
-
Parse a
InputStreaminto a KVP (Key Value Pair) file. - KVPFile(URL) - Constructor for class net.foxgenesis.config.KVPFile
-
Parse a
URLinto a KVP (Key Value Pair) file.
L
- limit(String, int) - Static method in class net.foxgenesis.util.StringUtils
- linesFromResource(URL) - Static method in class net.foxgenesis.util.ResourceUtils
-
Read all lines from a resource
- logger - Static variable in class net.foxgenesis.watame.Main
-
Global logger
- logger - Variable in class net.foxgenesis.watame.sql.AbstractDatabase
-
Database logger
- logger - Static variable in class net.foxgenesis.watame.WatameBot
-
General purpose logger
- LongField - Class in net.foxgenesis.config.fields
- LongField(String, Function<Guild, Long>, boolean) - Constructor for class net.foxgenesis.config.fields.LongField
M
- main(String[]) - Static method in class net.foxgenesis.watame.Main
-
Program entry point.
- Main - Class in net.foxgenesis.watame
-
Program main class.
- Main() - Constructor for class net.foxgenesis.watame.Main
- mapStatement(String, AbstractDatabase.StatementFunction<R>) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- mapStatement(String, AbstractDatabase.StatementFunction<R>, Consumer<SQLException>) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- MethodTimer - Class in net.foxgenesis.util
-
Utility class that check the amount of time it takes to run a method
- MethodTimer() - Constructor for class net.foxgenesis.util.MethodTimer
- module() - Method in record class net.foxgenesis.util.ResourceUtils.ModuleResource
-
Returns the value of the
modulerecord component. - ModuleResource(Module, String) - Constructor for record class net.foxgenesis.util.ResourceUtils.ModuleResource
-
Creates an instance of a
ModuleResourcerecord class. - ModuleResource(String, String) - Constructor for record class net.foxgenesis.util.ResourceUtils.ModuleResource
N
- name - Variable in class net.foxgenesis.config.fields.ConfigField
- name - Variable in enum class net.foxgenesis.config.fields.SQLDataType
- name - Variable in class net.foxgenesis.config.fields.StorageKey
- name() - Element in annotation interface net.foxgenesis.watame.plugin.PluginProperties
-
Get the of the plugin
- name() - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Returns the value of the
namerecord component. - net.foxgenesis.config - package net.foxgenesis.config
- net.foxgenesis.config.fields - package net.foxgenesis.config.fields
- net.foxgenesis.log - package net.foxgenesis.log
- net.foxgenesis.util - package net.foxgenesis.util
- net.foxgenesis.util.function - package net.foxgenesis.util.function
- net.foxgenesis.watame - package net.foxgenesis.watame
- net.foxgenesis.watame.plugin - package net.foxgenesis.watame.plugin
- net.foxgenesis.watame.sql - package net.foxgenesis.watame.sql
- net.foxgenesis.watame.util - package net.foxgenesis.watame.util
- NO_TOKEN - Enum constant in enum class net.foxgenesis.watame.ExitCode
- NUMERIC - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
O
- ofLength(int) - Method in enum class net.foxgenesis.config.fields.SQLDataType
- ofPrecision(int) - Method in enum class net.foxgenesis.config.fields.SQLDataType
- ofPrecisionAndScale(int, int) - Method in enum class net.foxgenesis.config.fields.SQLDataType
- onReady(WatameBot) - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
NEED_JAVADOC
- openStream() - Method in record class net.foxgenesis.util.ResourceUtils.ModuleResource
- operationsFile() - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Returns the value of the
operationsFilerecord component. - optFrom(Guild) - Method in class net.foxgenesis.config.fields.ConfigField
P
- parameterCount() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- parse(InputStream) - Method in class net.foxgenesis.config.KVPFile
-
Parse a resource
InputStreaminto the configuration mapping. - parse(String[]) - Method in class net.foxgenesis.util.ProgramArguments
-
Parse the given arguments into
flags,parametersandarguments. - parse(URL) - Method in class net.foxgenesis.config.KVPFile
-
Parse a resource
URLinto the configuration mapping. - PATTERN_URL - Static variable in class net.foxgenesis.util.StringUtils
-
Compiled regex checking for URL character sequences.
- PATTERN_URL_WITH_GROUPING - Static variable in class net.foxgenesis.util.StringUtils
-
Compiled regex checking for URL character sequences.
- PluginProperties - Annotation Interface in net.foxgenesis.watame.plugin
- PLUGINS_FOLDER - Static variable in class net.foxgenesis.watame.Constants
- POST_INIT - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
-
NEED_JAVADOC
- postInit(WatameBot) - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
NEED_JAVADOC
- PRE_INIT - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
-
NEED_JAVADOC
- preInit() - Method in interface net.foxgenesis.watame.plugin.IPlugin
-
Startup method called when resources, needed for functionality initialization, are to be loaded.
- ProgramArguments - Class in net.foxgenesis.util
-
Class to parse command line parameters.
- ProgramArguments() - Constructor for class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- ProgramArguments(String[]) - Constructor for class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- programExit() - Method in enum class net.foxgenesis.watame.ExitCode
-
Exit the program with this
ExitCode's"exit code". - programExit(String) - Method in enum class net.foxgenesis.watame.ExitCode
-
Exit the program with a specific
message. - programExit(String, Throwable) - Method in enum class net.foxgenesis.watame.ExitCode
-
Exit the program with a specific
messageandThrowable. - programExit(Throwable) - Method in enum class net.foxgenesis.watame.ExitCode
-
Exit the program with a specific
Throwable. - put(String, Object) - Method in class net.foxgenesis.config.fields.JSONObjectAdv
- putIfAbsent(String, Object) - Method in class net.foxgenesis.config.fields.JSONObjectAdv
R
- r - Variable in class net.foxgenesis.config.fields.StorageKey
- REAL - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- reload() - Method in class net.foxgenesis.watame.plugin.UntrustedPluginLoader
-
Clear this loader's provider cache so that all providers will be reloaded.
- remove(String) - Method in class net.foxgenesis.config.fields.JSONObjectAdv
- remove(Guild) - Method in class net.foxgenesis.config.fields.ConfigField
- removeCloseHandler(Runnable) - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- removeEventListeners(Object...) - Method in class net.foxgenesis.watame.WatameBot.ProtectedJDABuilder
-
Removes all provided listeners from the list of listeners.
- removeGuild(Guild) - Method in class net.foxgenesis.watame.sql.DataManager
-
Remove a guild from the data manager.
- RESOURCE_IO_ERROR - Enum constant in enum class net.foxgenesis.watame.ExitCode
- resourcePath() - Method in record class net.foxgenesis.util.ResourceUtils.ModuleResource
-
Returns the value of the
resourcePathrecord component. - ResourceUtils - Class in net.foxgenesis.util
- ResourceUtils() - Constructor for class net.foxgenesis.util.ResourceUtils
- ResourceUtils.ModuleResource - Record Class in net.foxgenesis.util
- retrieveDatabaseData(JDA) - Method in class net.foxgenesis.watame.sql.DataManager
-
Retrieve all data needed from the database.
- RoleField - Class in net.foxgenesis.config.fields
- RoleField(String, Function<Guild, Role>, boolean) - Constructor for class net.foxgenesis.config.fields.RoleField
- run(Runnable) - Static method in class net.foxgenesis.util.MethodTimer
-
Time how long it takes to execute
Runnabler. - run(Runnable, int) - Static method in class net.foxgenesis.util.MethodTimer
- runFormatMS(Runnable) - Static method in class net.foxgenesis.util.MethodTimer
-
Time how long it takes to execute
Runnabler. - runFormatMS(Runnable, int) - Static method in class net.foxgenesis.util.MethodTimer
-
Time how long it takes to execute
Runnabler. - runFormatMS(Runnable, int, int) - Static method in class net.foxgenesis.util.MethodTimer
- RUNNING - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
-
WatameBot has finished all loading stages and is running
S
- set(Guild, E) - Method in class net.foxgenesis.config.fields.ConfigField
- setup() - Method in class net.foxgenesis.watame.sql.AbstractDatabase
-
NEED_JAVADOC
- setupFile() - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Returns the value of the
setupFilerecord component. - SingleInstanceLockException(File, int) - Constructor for exception net.foxgenesis.util.SingleInstanceUtil.SingleInstanceLockException
- SingleInstanceUtil - Class in net.foxgenesis.util
-
Utility class that tries to create a Lock on a specific PID file.
- SingleInstanceUtil() - Constructor for class net.foxgenesis.util.SingleInstanceUtil
- SingleInstanceUtil.SingleInstanceLockException - Exception in net.foxgenesis.util
-
Exception class thrown when SingleInstanceUtil fails to obtain a lock on its desired port.
- SMALLINT - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- source - Variable in class net.foxgenesis.watame.sql.AbstractDatabase
-
SQL connection pool
- source() - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Returns the value of the
sourcerecord component. - SQLDataType - Enum Class in net.foxgenesis.config.fields
- StorageHandler - Class in net.foxgenesis.config.fields
- StorageHandler(Object, Consumer<Object>) - Constructor for class net.foxgenesis.config.fields.StorageHandler
- StorageKey - Class in net.foxgenesis.config.fields
- StorageKey(String, String, SQLDataType) - Constructor for class net.foxgenesis.config.fields.StorageKey
- StringField - Class in net.foxgenesis.config.fields
- StringField(String, Function<Guild, String>, boolean) - Constructor for class net.foxgenesis.config.fields.StringField
- StringUtils - Class in net.foxgenesis.util
-
Utility class for Strings
- StringUtils() - Constructor for class net.foxgenesis.util.StringUtils
T
- TIME - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- TIMESTAMP - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- toggle(Guild) - Method in class net.foxgenesis.config.fields.BooleanField
- toSplitString(InputStream) - Static method in class net.foxgenesis.util.StringUtils
- toString() - Method in enum class net.foxgenesis.config.fields.SQLDataType
- toString() - Method in class net.foxgenesis.config.fields.StorageKey
- toString() - Method in class net.foxgenesis.util.ProgramArguments
-
NEED_JAVADOC
- toString() - Method in record class net.foxgenesis.util.ResourceUtils.ModuleResource
-
Returns a string representation of this record class.
- toString() - Method in class net.foxgenesis.watame.sql.AbstractDatabase
- toString() - Method in record class net.foxgenesis.watame.sql.DatabaseProperties
-
Returns a string representation of this record class.
- toString() - Method in class net.foxgenesis.watame.sql.GuildData
- toString(InputStream) - Static method in class net.foxgenesis.util.StringUtils
- TriConsumer<T,
U, R> - Interface in net.foxgenesis.util.function -
Represents an operation that accepts three input arguments and returns no result.
- type - Variable in class net.foxgenesis.config.fields.StorageKey
U
- UntrustedPluginLoader<T> - Class in net.foxgenesis.watame.plugin
- UntrustedPluginLoader(Class<T>) - Constructor for class net.foxgenesis.watame.plugin.UntrustedPluginLoader
-
Create a new
UntrustedPluginLoaderinstance using the provided service class. - update() - Method in class net.foxgenesis.config.fields.StorageHandler
V
- VALID_DISCORD_DOMAINS - Static variable in class net.foxgenesis.watame.Constants
- valueOf(String) - Static method in enum class net.foxgenesis.config.fields.SQLDataType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.foxgenesis.watame.ExitCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.foxgenesis.watame.WatameBot.State
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.foxgenesis.config.fields.SQLDataType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.foxgenesis.watame.ExitCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.foxgenesis.watame.WatameBot.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARCHAR - Enum constant in enum class net.foxgenesis.config.fields.SQLDataType
- version() - Element in annotation interface net.foxgenesis.watame.plugin.PluginProperties
-
Get the version of this plugin.
W
- waitAndGetLock(int) - Static method in class net.foxgenesis.util.SingleInstanceUtil
-
Attempt to obtain lock on PID with
amtretries. - waitAndGetLock(File, int) - Static method in class net.foxgenesis.util.SingleInstanceUtil
-
Attempt to obtain lock on
PIDwithamtretries and 10 second delay between retries. - waitAndGetLock(File, int, int) - Static method in class net.foxgenesis.util.SingleInstanceUtil
-
Attempt to obtain lock on PID file
pid,amttimes withdelaydelay between retries. - watamebot - module watamebot
-
Watamebot core module
- WatameBot - Class in net.foxgenesis.watame
-
Class containing WatameBot implementation
- WatameBot.ProtectedJDABuilder - Class in net.foxgenesis.watame
- WatameBot.State - Enum Class in net.foxgenesis.watame
-
States
WatameBotgoes through on startup.
All Classes and Interfaces|All Packages|Serialized Form