Index

A C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractDatabase - Class in net.foxgenesis.database
NEED_JAVADOC
AbstractDatabase(String, ModuleResource, ModuleResource) - Constructor for class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
AbstractDatabase.SQLConsumer<U> - Interface in net.foxgenesis.database
NEED_JAVADOC
AbstractDatabase.SQLFunction<U,V> - Interface in net.foxgenesis.database
NEED_JAVADOC
accept(T, U, R) - Method in interface net.foxgenesis.util.function.TriConsumer
Performs this operation on the given arguments.
accept(U) - Method in interface net.foxgenesis.database.AbstractDatabase.SQLConsumer
 
AConnectionProvider - Class in net.foxgenesis.database
 
AConnectionProvider(String, Properties) - Constructor for class net.foxgenesis.database.AConnectionProvider
 
AConnectionProvider.ConnectionConsumer<U> - Interface in net.foxgenesis.database
 
allOf(Collection<CompletableFuture<?>>) - Static method in class net.foxgenesis.util.CompletableFutureUtils
 
allOf(Stream<CompletableFuture<?>>) - Static method in class net.foxgenesis.util.CompletableFutureUtils
 
andThen(Function<? super R, ? extends X>) - Method in interface net.foxgenesis.util.function.QuadFunction
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
andThen(TriConsumer<? super T, ? super U, ? super R>) - Method in interface net.foxgenesis.util.function.TriConsumer
Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.
apply(T, U, V, W) - Method in interface net.foxgenesis.util.function.QuadFunction
Applies this function to the given arguments.
apply(U) - Method in interface net.foxgenesis.database.AbstractDatabase.SQLFunction
 
applyConnection(Connection) - Method in interface net.foxgenesis.database.AConnectionProvider.ConnectionConsumer
 
ArrayUtils - Class in net.foxgenesis.util
 
ArrayUtils() - Constructor for class net.foxgenesis.util.ArrayUtils
 
asProperties() - Method in class net.foxgenesis.util.resource.ModuleResource
Read this resource as a Properties file.

C

category() - Method in record class net.foxgenesis.property.PropertyInfo
Returns the value of the category record component.
checkUserInput(boolean) - Method in interface net.foxgenesis.property.Property
Method checks if this property is allowed to be modified by the user.
clear() - Method in class net.foxgenesis.config.KVPFile
Clear the configuration mapping.
close() - Method in class net.foxgenesis.database.AConnectionProvider
 
close() - Method in class net.foxgenesis.database.DatabaseManager
 
close() - Method in class net.foxgenesis.watame.Context
 
close() - Method in class net.foxgenesis.watame.plugin.Plugin
Called when the plugin is to be unloaded.
close() - Method in class net.foxgenesis.watame.plugin.PluginHandler
Close all loaded plugins and wait for the termination of the plugin thread pool.
Colors - Class in net.foxgenesis.watame.util
 
Colors() - Constructor for class net.foxgenesis.watame.util.Colors
 
CommandProvider - Interface in net.foxgenesis.watame.plugin
 
commaSeparated(int[]) - Static method in class net.foxgenesis.util.ArrayUtils
 
commaSeparated(T[]) - Static method in class net.foxgenesis.util.ArrayUtils
 
CompletableFutureUtils - Class in net.foxgenesis.util
 
CompletableFutureUtils() - Constructor for class net.foxgenesis.util.CompletableFutureUtils
 
computeIfAbsent(String, Function<String, String>) - Method in class net.foxgenesis.config.KVPFile
If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.
CONFIG_PATH - Static variable in class net.foxgenesis.watame.WatameBot
Path pointing to the configuration directory
ConfigType - Enum Class in net.foxgenesis.util.resource
Enumeration of all supported configuration file types.
configurationKeySet() - Method in class net.foxgenesis.watame.plugin.Plugin
Get a list of all loaded configuration IDs.
configurationPath - Variable in class net.foxgenesis.watame.plugin.Plugin
Path to the plugin's configuration folder
configurationPath - Variable in class net.foxgenesis.watame.WatameBotSettings
 
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
Predicate that tests if a URL is found in a given input string.
containsKey(String) - Method in class net.foxgenesis.config.KVPFile
Returns true if this map contains a mapping for the specified key.
Context - Class in net.foxgenesis.watame
 
Context(WatameBot, JDABuilder, ExecutorService, BiConsumer<String, String>) - Constructor for class net.foxgenesis.watame.Context
 
createPropertyInfo(C, K, boolean, PropertyType) - Method in interface net.foxgenesis.property.PropertyResolver
Create a new property inside the configuration.
CustomHighlight - Class in net.foxgenesis.log
 
CustomHighlight() - Constructor for class net.foxgenesis.log.CustomHighlight
 

D

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_SETTINGS_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
 
DATABASE_TABLE_PROPERTIES - Static variable in class net.foxgenesis.watame.Constants
 
DATABASE_TABLE_PROPERTY_INFO - Static variable in class net.foxgenesis.watame.Constants
 
DatabaseManager - Class in net.foxgenesis.database
NEED_JAVADOC
DatabaseManager(String) - Constructor for class net.foxgenesis.database.DatabaseManager
NEED_JAVADOC
DEFAULT_AVATAR - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAclBMVEVyidr///9uhtlvh9lshNlpgtj4+f37/P7z9fx0i9t5j9zs7/p2jdvl6fh9kt33+P3Q1/KHmt/a4PXq7fmtuumBlt7Ayu6VpeLj5/eKneCbquTc4fWksubU2/PH0PC1wOugr+a7xeyyvurEze+QouKqtudB7vlHAAAKAklEQVR4nO2d63ayOhCGMRMEBJHz+Szc/y1u0H4VrYEgQV1rz/O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1X9aNWJIX/sAxBDU4IfZk1dWDkjheslaJNb59rLWp/Ii77nsgk/31eRhRq54Rgq/eZvPyEIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiDI/5b/APgEpXh5GhuhAAAAAElFTkSuQmCC"
DEFAULT_AVATAR_URL - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"https://cdn.discordapp.com/embed/avatars/index.png"
defaultFile() - Element in annotation interface net.foxgenesis.watame.plugin.PluginConfiguration
The path to the default configuration file inside the jar.
description - Variable in class net.foxgenesis.watame.plugin.Plugin
Description of the plugin.
DiscordUtils - Class in net.foxgenesis.watame.util
 
DiscordUtils() - Constructor for class net.foxgenesis.watame.util.DiscordUtils
 

E

equals(Object) - Method in class net.foxgenesis.watame.plugin.Plugin
 
equals(Object) - Method in record class net.foxgenesis.property.PropertyInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.foxgenesis.util.Pair
Indicates whether some other object is "equal to" this one.
error(String) - Static method in class net.foxgenesis.watame.util.Response
 
error(String, String) - Static method in class net.foxgenesis.watame.util.Response
 
error(String, String, String) - Static method in class net.foxgenesis.watame.util.Response
 
ERROR - Static variable in class net.foxgenesis.watame.util.Colors
 
EventStore - Class in net.foxgenesis.watame.plugin
 
EventStore(JDABuilder) - Constructor for class net.foxgenesis.watame.plugin.EventStore
 
ExitCode - Enum Class in net.foxgenesis.watame
Enum of program exit codes

F

findURLs(String) - Static method in class net.foxgenesis.util.StringUtils
Find all occurrences of a URL in the given string.
findURLs(String, Consumer<Exception>) - Static method in class net.foxgenesis.util.StringUtils
Find all occurrences of a URL in the given string.
findURLWithGroups(String) - Static method in class net.foxgenesis.util.StringUtils
Find all URLs within a String and split its components into groups.
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.
forEachConfiguration(BiConsumer<String, Configuration>) - Method in class net.foxgenesis.watame.plugin.Plugin
Loop through all loaded Configuration files.
format(long, int, double) - Static method in class net.foxgenesis.util.MethodTimer
NEED_JAVADOC
FormattedModuleResource - Class in net.foxgenesis.util.resource
A class that points to a resource inside a module and implements methods to read from it after formatting its data.
FormattedModuleResource(String, String, Map<String, String>) - Constructor for class net.foxgenesis.util.resource.FormattedModuleResource
Create a new ModuleResource that points to a specified resource inside a module.
formatToMilli(long) - Static method in class net.foxgenesis.util.MethodTimer
NEED_JAVADOC
formatToMilli(long, int) - Static method in class net.foxgenesis.util.MethodTimer
NEED_JAVADOC
formatToSeconds(long) - Static method in class net.foxgenesis.util.MethodTimer
NEED_JAVADOC
formatToSeconds(long, int) - Static method in class net.foxgenesis.util.MethodTimer
NEED_JAVADOC
friendlyName - Variable in class net.foxgenesis.watame.plugin.Plugin
Friendly identifier of the plugin.

G

get(String) - Method in class net.foxgenesis.config.KVPFile
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(L) - Method in interface net.foxgenesis.property.ImmutableProperty
Get the current value of this property.
get(L, Function<? super M, U>) - Method in interface net.foxgenesis.property.ImmutableProperty
Get the current value of this property and map it with the specified mapper.
get(L, Supplier<U>, Function<? super M, U>) - Method in interface net.foxgenesis.property.ImmutableProperty
Get the current value of this property and map it with the specified mapper.
getAsBoolean() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as a boolean.
getAsBooleanArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of booleans.
getAsByteArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of bytes.
getAsDouble() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as a double.
getAsDoubleArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of doubles.
getAsFloat() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as a float.
getAsFloatArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of floats.
getAsInt() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an integer.
getAsIntegerArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of integers.
getAsLong() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as a long.
getAsLongArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of longs.
getAsMember() - Method in class net.foxgenesis.watame.property.PluginPropertyMapping
 
getAsMessageChannel() - Method in class net.foxgenesis.watame.property.PluginPropertyMapping
 
getAsObject() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as a serialized object.
getAsPlainText() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property as plain text.
getAsRole() - Method in class net.foxgenesis.watame.property.PluginPropertyMapping
 
getAsString() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as a string of text.
getAsStringArray() - Method in interface net.foxgenesis.property.PropertyMapping
Parse this property value as an array of strings.
getAsynchronousExecutor() - Method in class net.foxgenesis.watame.Context
 
getAsynchronousExecutor() - Method in class net.foxgenesis.watame.plugin.PluginHandler
NEED_JAVADOC
getCode() - Method in enum class net.foxgenesis.watame.ExitCode
Returns the ExitCode's number.
getCommands() - Method in interface net.foxgenesis.watame.plugin.CommandProvider
Register all CommandData that this plugin provides.
getConfiguration() - Method in class net.foxgenesis.watame.WatameBotSettings
 
getConfiguration(String) - Method in class net.foxgenesis.watame.plugin.Plugin
Get the configuration file that is linked to an identifier or null if not found.
getDatabase() - Method in class net.foxgenesis.database.AbstractDatabase
 
getDatabase() - Method in class net.foxgenesis.database.AConnectionProvider
 
getDatabaseManager() - Method in class net.foxgenesis.watame.Context
 
getDatabaseManager() - Method in class net.foxgenesis.watame.WatameBot
NEED_JAVADOC
getDisplayInfo() - Method in class net.foxgenesis.watame.plugin.Plugin
 
getDisplayString() - Method in record class net.foxgenesis.property.PropertyInfo
 
getEffectiveStream(Collection<T>) - Static method in class net.foxgenesis.util.StreamUtils
Returns a possibly parallel stream if the amount of items exceed 1024.
getEffectiveStream(Stream<T>) - Static method in class net.foxgenesis.util.StreamUtils
Returns a possibly parallel stream if the amount of items exceed 1024.
getEventRegister() - Method in class net.foxgenesis.watame.Context
 
getForegroundColorCode(ILoggingEvent) - Method in class net.foxgenesis.log.CustomHighlight
 
getGuild() - Method in class net.foxgenesis.watame.property.PluginPropertyMapping
 
getInfo() - Method in interface net.foxgenesis.property.ImmutableProperty
Get the definition of this property
getInternal(Long, PropertyInfo) - Method in interface net.foxgenesis.property.lck.LCKPropertyResolver
 
getInternal(L, PropertyInfo) - Method in interface net.foxgenesis.property.PropertyResolver
Get an internal property inside the configuration.
getJDA() - Method in class net.foxgenesis.watame.Context
 
getJDA() - Method in class net.foxgenesis.watame.WatameBot
NEED_JAVADOC
getLength() - Method in interface net.foxgenesis.property.PropertyMapping
Get the size of this property value.
getLoggingChannel() - Method in class net.foxgenesis.watame.WatameBot
 
getMessage() - Method in exception net.foxgenesis.util.SingleInstanceUtil.SingleInstanceLockException
 
getModule() - Method in class net.foxgenesis.util.resource.ModuleResource
Get the Module containing this resource.
getModuleLayer() - Method in class net.foxgenesis.watame.plugin.PluginHandler
Get the module layer used by this instance.
getName() - Method in class net.foxgenesis.database.AbstractDatabase
 
getName() - Method in class net.foxgenesis.database.AConnectionProvider
 
getName() - Method in class net.foxgenesis.database.DatabaseManager
 
getName() - Method in interface net.foxgenesis.database.IDatabaseManager
Get the name of this instance.
getOr(L, ImmutableProperty<L, M>) - Method in interface net.foxgenesis.property.ImmutableProperty
Get the current value of this property if present.
getOrDefault(String, String) - Method in class net.foxgenesis.config.KVPFile
Returns the value to which the specified key is mapped, or defaultValue if this map contains no mapping for the key.
getPlugin(Class<? extends T>) - Method in class net.foxgenesis.watame.plugin.PluginHandler
Get a plugin by class.
getPlugin(String) - Method in class net.foxgenesis.watame.plugin.PluginHandler
NEED_JAVADOC
getPluginClass() - Method in class net.foxgenesis.watame.plugin.PluginHandler
Get the class used by this instance.
getPrefix() - Method in class net.foxgenesis.executor.PrefixedForkJoinPoolFactory
 
getPrefix() - Method in class net.foxgenesis.executor.PrefixedThreadFactory
 
getProperties(Path, ModuleResource) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Parse a Properties file at the specified Path.
getProperty(PropertyInfo) - Method in interface net.foxgenesis.property.PropertyProvider
Get a LCKProperty linked to the specified PropertyInfo.
getProperty(C, K) - Method in interface net.foxgenesis.property.PropertyProvider
Get a LCKProperty based on the specified property category and key.
getProperty(String) - Method in class net.foxgenesis.watame.plugin.Plugin
Resolve the PropertyInfo by the specified name into a usable PluginProperty.
getProperty(PropertyInfo) - Method in class net.foxgenesis.watame.plugin.Plugin
Resolve a PropertyInfo into a usable PluginProperty.
getProperty(PropertyInfo) - Method in interface net.foxgenesis.watame.property.PluginPropertyProvider
Get a PluginProperty linked to the specified PropertyInfo.
getProperty(Plugin, String) - Method in interface net.foxgenesis.watame.property.PluginPropertyProvider
Get a PluginProperty based on the specified property owner and name.
getPropertyByID(int) - Method in interface net.foxgenesis.property.PropertyProvider
Get a LCKProperty based on the specified property information id.
getPropertyByID(int) - Method in interface net.foxgenesis.property.PropertyResolver
Get the property linked to the specified id.
getPropertyByID(int) - Method in interface net.foxgenesis.watame.property.PluginPropertyProvider
Get a PluginProperty based on the specified property information id.
getPropertyInfo(C, K) - Method in interface net.foxgenesis.property.PropertyResolver
Get the property information for the specified property.
getPropertyList() - Method in interface net.foxgenesis.property.PropertyProvider
Get a list of all registered PropertyInfo.}
getPropertyList() - Method in interface net.foxgenesis.property.PropertyResolver
Get a List of all registered properties.
getPropertyProvider() - Method in class net.foxgenesis.watame.plugin.Plugin
Get the provider for registering and getting PluginProperties.
getPropertyProvider() - Method in class net.foxgenesis.watame.WatameBot
 
getRawStatement(String) - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
getResourcePath() - Method in class net.foxgenesis.util.resource.ModuleResource
Get the path to this resource.
getState() - Method in class net.foxgenesis.watame.Context
 
getState() - Method in class net.foxgenesis.watame.WatameBot
Get the current state of the bot.
getType() - Method in interface net.foxgenesis.property.PropertyMapping
Get storage type of this property.

H

hasConfiguration(String) - Method in class net.foxgenesis.watame.plugin.Plugin
Check if a configuration file with the specified identifier exists.
hashCode() - Method in record class net.foxgenesis.property.PropertyInfo
Returns a hash code value for this object.
hashCode() - Method in record class net.foxgenesis.util.Pair
Returns a hash code value for this object.
hashCode() - Method in class net.foxgenesis.watame.plugin.Plugin
 
hasStatementID(String) - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC

I

id() - Method in record class net.foxgenesis.property.PropertyInfo
Returns the value of the id record component.
IDatabaseManager - Interface in net.foxgenesis.database
 
identifier() - Element in annotation interface net.foxgenesis.watame.plugin.PluginConfiguration
The ID of this configuration.
IEventStore - Interface in net.foxgenesis.watame.plugin
 
ImmutableLCKProperty - Interface in net.foxgenesis.property.lck
 
ImmutablePluginProperty - Interface in net.foxgenesis.watame.property
 
ImmutableProperty<L,M extends PropertyMapping> - Interface in net.foxgenesis.property
 
info(String) - Static method in class net.foxgenesis.watame.util.Response
 
info(String, String) - Static method in class net.foxgenesis.watame.util.Response
 
info(String, String, String) - Static method in class net.foxgenesis.watame.util.Response
 
INFO - Static variable in class net.foxgenesis.watame.util.Colors
 
INI - Enum constant in enum class net.foxgenesis.util.resource.ConfigType
Type representing .ini files.
init() - Method in class net.foxgenesis.watame.plugin.PluginHandler
Initialize all plugins.
init(IEventStore) - Method in class net.foxgenesis.watame.plugin.Plugin
Startup method called when methods providing functionality are to be loaded.
INIT - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
NEED_JAVADOC
INSTANCE - Static variable in class net.foxgenesis.watame.WatameBot
Singleton instance of class
INSTANCE_ALREADY_RUNNING - Enum constant in enum class net.foxgenesis.watame.ExitCode
 
INVALID_TOKEN - Enum constant in enum class net.foxgenesis.watame.ExitCode
 
IS_URL - Static variable in class net.foxgenesis.util.StringUtils
Predicate that tests if the given input string is a URL.
isConnectedToDiscord() - Method in class net.foxgenesis.watame.WatameBot
Check if this instances JDA is built and connected to Discord.
isDaemon() - Method in class net.foxgenesis.executor.PrefixedThreadFactory
 
isDatabaseRegistered(AbstractDatabase) - Method in interface net.foxgenesis.database.IDatabaseManager
Check if an AbstractDatabase is registered in this manager.
isDatabaseRegistered(AbstractDatabase) - Method in class net.foxgenesis.database.DatabaseManager
 
isEmpty() - Method in class net.foxgenesis.config.KVPFile
Checks if the configuration mapping is empty.
isFatal() - Method in exception net.foxgenesis.watame.plugin.SeverePluginException
Check if this exception was fatal.
isPlainText() - Method in interface net.foxgenesis.property.PropertyMapping
Check if this property is stored as plain text.
isPluginPresent(Class<? extends T>) - Method in class net.foxgenesis.watame.plugin.PluginHandler
Check if a plugin is loaded.
isPluginPresent(String) - Method in class net.foxgenesis.watame.plugin.PluginHandler
Check if a plugin is loaded.
isPresent(L) - Method in interface net.foxgenesis.property.ImmutableProperty
Check if this property is populated in the configuration.
isPresent(L, PropertyInfo) - Method in interface net.foxgenesis.property.PropertyResolver
Check if the specified property is present in the configuration.
isReady() - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
isReady() - Method in class net.foxgenesis.database.DatabaseManager
 
isReady() - Method in interface net.foxgenesis.database.IDatabaseManager
Check if all guild data has been processed and is ready for use.
isRegistered(C, K) - Method in interface net.foxgenesis.property.PropertyResolver
Check if the specified property exists inside the configuration.
isUserModifiable() - Method in interface net.foxgenesis.property.Property
Check if this property can be modified by user input.
isUserReadable() - Method in interface net.foxgenesis.property.PropertyMapping
Check if this property can be displayed in a user readable format.

J

JDA_BUILD_FAIL - Enum constant in enum class net.foxgenesis.watame.ExitCode
 
JSON - Enum constant in enum class net.foxgenesis.util.resource.ConfigType
Type representing .json files.

K

key() - Method in record class net.foxgenesis.util.Pair
Returns the value of the key record component.
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 File into a KVP (Key Value Pair) file.
KVPFile(InputStream) - Constructor for class net.foxgenesis.config.KVPFile
Parse an InputStream into a KVP (Key Value Pair) file.
KVPFile(URL) - Constructor for class net.foxgenesis.config.KVPFile
Parse a URL into a KVP (Key Value Pair) file.
KVPFile(ModuleResource) - Constructor for class net.foxgenesis.config.KVPFile
Parse A ModuleResource into a KVP (Key Value Pair) file.

L

LCKProperty - Interface in net.foxgenesis.property.lck
 
LCKPropertyProvider - Interface in net.foxgenesis.property.lck
 
LCKPropertyResolver - Interface in net.foxgenesis.property.lck
 
limit(String, int) - Static method in class net.foxgenesis.util.StringUtils
Limit the length of a string if it exceeds the provided length.
linesFromResource(URL) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Read all lines from a resource
loadConfiguration(ConfigType, ModuleResource, Path, String) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Load a configuration file of the provided type from the specified directory and file.
loadINI(ModuleResource, Path, String) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Load an .ini configuration file from the specified directory and file.
loadJSON(ModuleResource, Path, String) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Load a .json configuration file from the specified directory and file.
loadPlugins() - Method in class net.foxgenesis.watame.plugin.PluginHandler
Load all plugins from the service loader
loadProperties(ModuleResource, Path, String) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Load a .properties configuration file from the specified directory and file.
loadXML(ModuleResource, Path, String) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Load a .xml configuration file from the specified directory and file.
logger - Variable in class net.foxgenesis.database.AbstractDatabase
Logger
logger - Variable in class net.foxgenesis.database.AConnectionProvider
 
logger - Variable in class net.foxgenesis.database.DatabaseManager
 
logger - Variable in class net.foxgenesis.watame.plugin.Plugin
Plugin logger
logger - Static variable in class net.foxgenesis.watame.WatameBot
General purpose logger
LOGGING_SETTINGS - Static variable in class net.foxgenesis.watame.Constants
 

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
 
mapCallable(String, AbstractDatabase.SQLFunction<CallableStatement, U>) - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
mapStatement(String, AbstractDatabase.SQLFunction<PreparedStatement, U>, int...) - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
marker - Variable in enum class net.foxgenesis.watame.WatameBot.State
 
MAX_CATEGORY_LENGTH - Static variable in interface net.foxgenesis.property.PropertyResolver
Max length for category values
MAX_KEY_LENGTH - Static variable in interface net.foxgenesis.property.PropertyResolver
Max length for key values
MENTION_CHANNEL - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"<#%18d>"
MENTION_ROLE - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"<@&%18d>"
MENTION_SLASH_COMMAND - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"</%s:%18d>"
MENTION_SLASH_COMMAND_WITH_GROUPS - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"</%s %s %s:%18d>"
MENTION_USER - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"<@%18d>"
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
 
modifiable() - Method in record class net.foxgenesis.property.PropertyInfo
Returns the value of the modifiable record component.
ModuleResource - Class in net.foxgenesis.util.resource
A class that points to a resource inside a module and implements methods to read from it.
ModuleResource(Module, String) - Constructor for class net.foxgenesis.util.resource.ModuleResource
Create a new ModuleResource that points to a specified resource inside a module.
ModuleResource(String, String) - Constructor for class net.foxgenesis.util.resource.ModuleResource
Create a new ModuleResource that points to a specified resource inside a module.

N

name - Variable in class net.foxgenesis.watame.plugin.Plugin
Name identifier of the plugin.
name() - Method in record class net.foxgenesis.property.PropertyInfo
Returns the value of the name record component.
needsDatabase - Variable in class net.foxgenesis.watame.plugin.Plugin
Does this plugin require access to the database.
net.foxgenesis.config - package net.foxgenesis.config
 
net.foxgenesis.database - package net.foxgenesis.database
 
net.foxgenesis.executor - package net.foxgenesis.executor
 
net.foxgenesis.log - package net.foxgenesis.log
 
net.foxgenesis.property - package net.foxgenesis.property
 
net.foxgenesis.property.lck - package net.foxgenesis.property.lck
 
net.foxgenesis.util - package net.foxgenesis.util
 
net.foxgenesis.util.function - package net.foxgenesis.util.function
 
net.foxgenesis.util.resource - package net.foxgenesis.util.resource
 
net.foxgenesis.watame - package net.foxgenesis.watame
Main package of WatameBot containing the entry and startup methods.
net.foxgenesis.watame.plugin - package net.foxgenesis.watame.plugin
Package containing implementation of the plugin functionality system.
net.foxgenesis.watame.property - package net.foxgenesis.watame.property
 
net.foxgenesis.watame.util - package net.foxgenesis.watame.util
 
newThread(Runnable) - Method in class net.foxgenesis.executor.PrefixedThreadFactory
 
newThread(ForkJoinPool) - Method in class net.foxgenesis.executor.PrefixedForkJoinPoolFactory
 
NO_TOKEN - Enum constant in enum class net.foxgenesis.watame.ExitCode
 
notice(String) - Static method in class net.foxgenesis.watame.util.Response
 
notice(String, String) - Static method in class net.foxgenesis.watame.util.Response
 
notice(String, String, String) - Static method in class net.foxgenesis.watame.util.Response
 
NOTICE - Static variable in class net.foxgenesis.watame.util.Colors
 
NUMBER - Enum constant in enum class net.foxgenesis.property.PropertyType
 

O

OBJECT - Enum constant in enum class net.foxgenesis.property.PropertyType
 
onReady() - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
onReady(WatameBot) - Method in class net.foxgenesis.watame.plugin.Plugin
Called by the PluginHandler when JDA and all Plugins have finished startup and have finished loading.
onReady(WatameBot) - Method in class net.foxgenesis.watame.plugin.PluginHandler
Post-Initialize all plugins.
openAutoClosedConnection(AConnectionProvider.ConnectionConsumer<U>) - Method in class net.foxgenesis.database.AConnectionProvider
 
openAutoClosedConnection(AConnectionProvider.ConnectionConsumer<U>, Consumer<Throwable>) - Method in class net.foxgenesis.database.AConnectionProvider
 
openConnection() - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
openConnection() - Method in class net.foxgenesis.database.AConnectionProvider
 
openStream() - Method in class net.foxgenesis.util.resource.FormattedModuleResource
Open an InputStream to this resource.
openStream() - Method in class net.foxgenesis.util.resource.ModuleResource
Open an InputStream to this resource.
outputFile() - Element in annotation interface net.foxgenesis.watame.plugin.PluginConfiguration
The path to store the configuration file outside the jar file.

P

Pair<T1,T2> - Record Class in net.foxgenesis.util
 
Pair(T1, T2) - Constructor for record class net.foxgenesis.util.Pair
Creates an instance of a Pair record class.
parse(InputStream) - Method in class net.foxgenesis.config.KVPFile
Parse an InputStream into the configuration mapping.
parse(URL) - Method in class net.foxgenesis.config.KVPFile
Parse a resource URL into the configuration mapping.
parse(ModuleResource) - Method in class net.foxgenesis.config.KVPFile
Parse a ModuleResource into the configuration mapping.
parse(Class<U>, byte[]) - Static method in interface net.foxgenesis.property.PropertyMapping
 
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.
PLAIN - Enum constant in enum class net.foxgenesis.property.PropertyType
 
Plugin - Class in net.foxgenesis.watame.plugin
A service providing functionality to WatameBot.
Plugin() - Constructor for class net.foxgenesis.watame.plugin.Plugin
No-argument constructor called by the ServiceLoader to load and initialize required plugin data.
PLUGIN_PROPERTY_CACHE_TIME - Static variable in class net.foxgenesis.watame.Constants
 
PluginConfiguration - Annotation Interface in net.foxgenesis.watame.plugin
Annotation used on Plugin classes to request the loading of custom configuration files.
PluginHandler<T extends Plugin> - Class in net.foxgenesis.watame.plugin
Class used to handle all plugin related tasks.
PluginHandler(Context, ModuleLayer, Class<T>) - Constructor for class net.foxgenesis.watame.plugin.PluginHandler
Construct a new PluginHandler with the specified ModuleLayer and plugin Class.
PluginProperty - Interface in net.foxgenesis.watame.property
 
PluginPropertyMapping - Class in net.foxgenesis.watame.property
 
PluginPropertyMapping(long, byte[], PropertyType) - Constructor for class net.foxgenesis.watame.property.PluginPropertyMapping
 
PluginPropertyMapping(long, Blob, PropertyType) - Constructor for class net.foxgenesis.watame.property.PluginPropertyMapping
 
PluginPropertyMapping(Guild, byte[], PropertyType) - Constructor for class net.foxgenesis.watame.property.PluginPropertyMapping
 
PluginPropertyMapping(Guild, Blob, PropertyType) - Constructor for class net.foxgenesis.watame.property.PluginPropertyMapping
 
PluginPropertyProvider - Interface in net.foxgenesis.watame.property
 
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 class net.foxgenesis.watame.plugin.Plugin
Startup method called when JDA is building a connection to discord and all CommandData is being collected from CommandProvider.getCommands().
postInit(WatameBot) - Method in class net.foxgenesis.watame.plugin.PluginHandler
Post-Initialize all plugins.
PRE_INIT - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
NEED_JAVADOC
PrefixedForkJoinPoolFactory - Class in net.foxgenesis.executor
 
PrefixedForkJoinPoolFactory(String) - Constructor for class net.foxgenesis.executor.PrefixedForkJoinPoolFactory
 
PrefixedThreadFactory - Class in net.foxgenesis.executor
 
PrefixedThreadFactory(String) - Constructor for class net.foxgenesis.executor.PrefixedThreadFactory
 
PrefixedThreadFactory(String, boolean) - Constructor for class net.foxgenesis.executor.PrefixedThreadFactory
 
preInit() - Method in class net.foxgenesis.watame.plugin.Plugin
Startup method called when resources, needed for functionality initialization, are to be loaded.
preInit() - Method in class net.foxgenesis.watame.plugin.PluginHandler
Pre-Initialize all plugins.
prepareCallable(String, AbstractDatabase.SQLConsumer<CallableStatement>) - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
prepareStatement(String, AbstractDatabase.SQLConsumer<PreparedStatement>, int...) - Method in class net.foxgenesis.database.AbstractDatabase
NEED_JAVADOC
PROFILE_LINK - Static variable in class net.foxgenesis.watame.util.DiscordUtils
"discord://-/users/%18d"
programExit() - Method in enum class net.foxgenesis.watame.ExitCode
Exit the program with this ExitCode's "exit code".
programExit(Exception) - Method in enum class net.foxgenesis.watame.ExitCode
Exit the program with a specific Throwable.
programExit(String) - Method in enum class net.foxgenesis.watame.ExitCode
Exit the program with a specific message.
programExit(String, Exception) - Method in enum class net.foxgenesis.watame.ExitCode
Exit the program with a specific message and Throwable.
properties - Variable in class net.foxgenesis.database.AConnectionProvider
 
PROPERTIES - Enum constant in enum class net.foxgenesis.util.resource.ConfigType
Type representing .properties files.
Property<L,M extends PropertyMapping> - Interface in net.foxgenesis.property
 
PropertyException - Exception in net.foxgenesis.property
 
PropertyException(String) - Constructor for exception net.foxgenesis.property.PropertyException
 
PropertyException(String, Throwable) - Constructor for exception net.foxgenesis.property.PropertyException
 
PropertyException(Throwable) - Constructor for exception net.foxgenesis.property.PropertyException
 
propertyExists(C, K) - Method in interface net.foxgenesis.property.PropertyProvider
Check if a PropertyInfo is registered inside the configuration
PropertyInfo - Record Class in net.foxgenesis.property
 
PropertyInfo(int, String, String, boolean, PropertyType) - Constructor for record class net.foxgenesis.property.PropertyInfo
Creates an instance of a PropertyInfo record class.
PropertyMapping - Interface in net.foxgenesis.property
Interface defining method of parsing a property value into a usable data type.
PropertyProvider<C,K,G,M extends PropertyMapping> - Interface in net.foxgenesis.property
Base interface defining methods to provide and register LCKProperty and PropertyInfo.
PropertyResolver<L,C,K> - Interface in net.foxgenesis.property
Interface defining methods for retrieving properties from a configuration.
PropertyType - Enum Class in net.foxgenesis.property
Enumeration defining how a property should be stored inside the configuration
providesCommands - Variable in class net.foxgenesis.watame.plugin.Plugin
Does this plugin provide commands.
PushBullet - Class in net.foxgenesis.watame
 
PushBullet(OkHttpClient, String) - Constructor for class net.foxgenesis.watame.PushBullet
 
PushBullet(String) - Constructor for class net.foxgenesis.watame.PushBullet
 
pushNotification(String, String) - Method in class net.foxgenesis.watame.Context
 
pushPBMessage(String, String) - Method in class net.foxgenesis.watame.PushBullet
 
putInternal(L, PropertyInfo, InputStream) - Method in interface net.foxgenesis.property.PropertyResolver
Put/Update an internal property inside the configuration.

Q

QuadFunction<T,U,V,W,R> - Interface in net.foxgenesis.util.function
Represents a function that accepts two arguments and produces a result.

R

readAllLines() - Method in class net.foxgenesis.util.resource.ModuleResource
Read all lines from this resource.
readToString() - Method in class net.foxgenesis.util.resource.ModuleResource
Read all data from this resource into a string.
register(Plugin, AbstractDatabase) - Method in class net.foxgenesis.database.DatabaseManager
 
register(Plugin, AbstractDatabase) - Method in interface net.foxgenesis.database.IDatabaseManager
Register an AbstractDatabase that a Plugin requires.
register(Plugin) - Method in class net.foxgenesis.watame.plugin.EventStore
 
registerDatabase(AbstractDatabase) - Method in class net.foxgenesis.watame.plugin.Plugin
Register an AbstractDatabase that this Plugin requires.
registerListeners(Plugin, Object...) - Method in class net.foxgenesis.watame.plugin.EventStore
 
registerListeners(Plugin, Object...) - Method in interface net.foxgenesis.watame.plugin.IEventStore
 
registerProperty(String, boolean, PropertyType) - Method in class net.foxgenesis.watame.plugin.Plugin
Register a plugin property inside the database.
registerProperty(C, K, boolean, PropertyType) - Method in interface net.foxgenesis.property.PropertyProvider
Register a new PropertyInfo inside the configuration.
remove(L, boolean) - Method in interface net.foxgenesis.property.Property
Remove this property from the configuration
removeInternal(L, PropertyInfo) - Method in interface net.foxgenesis.property.PropertyResolver
Remove an internal value from the configuration.
removePropertyInfo(PropertyInfo) - Method in interface net.foxgenesis.property.PropertyResolver
Remove a property inside the configuration.
removePropertyInfo(C, K) - Method in interface net.foxgenesis.property.PropertyResolver
Remove a property inside the configuration.
RESOURCE_IO_ERROR - Enum constant in enum class net.foxgenesis.watame.ExitCode
 
ResourceUtils - Class in net.foxgenesis.util.resource
Utility class containing methods for handling resources.
ResourceUtils() - Constructor for class net.foxgenesis.util.resource.ResourceUtils
 
Response - Class in net.foxgenesis.watame.util
 
Response() - Constructor for class net.foxgenesis.watame.util.Response
 
retrieveAsMember() - Method in class net.foxgenesis.watame.property.PluginPropertyMapping
 
run(Runnable) - Static method in class net.foxgenesis.util.MethodTimer
Time how long it takes to execute Runnable r.
run(Runnable, int) - Static method in class net.foxgenesis.util.MethodTimer
Time how long it takes to execute Runnable r, n amount of times.
runFormatMS(Runnable) - Static method in class net.foxgenesis.util.MethodTimer
Time how long it takes to execute Runnable r.
runFormatMS(Runnable, int) - Static method in class net.foxgenesis.util.MethodTimer
Time how long it takes to execute Runnable r.
runFormatMS(Runnable, int, int) - Static method in class net.foxgenesis.util.MethodTimer
Time the average elapsed time it takes to execute Runnable r, n amount of times.
runFormatSec(Runnable) - Static method in class net.foxgenesis.util.MethodTimer
Time how long it takes to execute Runnable r.
runFormatSec(Runnable, int) - Static method in class net.foxgenesis.util.MethodTimer
Time how long it takes to execute Runnable r.
runFormatSec(Runnable, int, int) - Static method in class net.foxgenesis.util.MethodTimer
Time the average elapsed time it takes to execute Runnable r, n amount of times.
runNano(Runnable) - 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

serialize(PropertyInfo, Serializable) - Static method in interface net.foxgenesis.property.Property
Serialize a object into a byte array.
set(L, byte[], boolean) - Method in interface net.foxgenesis.property.Property
Set an array of bytes in the configuration
set(L, InputStream, boolean) - Method in interface net.foxgenesis.property.Property
Set a property inside the configuration with the data read from the specified InputStream.
set(L, Serializable, boolean) - Method in interface net.foxgenesis.property.Property
Set a Serializable object in the configuration.
setJDA(JDA) - Method in class net.foxgenesis.watame.plugin.EventStore
 
SettingsException(String) - Constructor for exception net.foxgenesis.watame.WatameBotSettings.SettingsException
 
SETUP_ERROR - Enum constant in enum class net.foxgenesis.watame.ExitCode
 
SeverePluginException - Exception in net.foxgenesis.watame.plugin
 
SeverePluginException(String) - Constructor for exception net.foxgenesis.watame.plugin.SeverePluginException
 
SeverePluginException(String, boolean) - Constructor for exception net.foxgenesis.watame.plugin.SeverePluginException
 
SeverePluginException(String, Throwable) - Constructor for exception net.foxgenesis.watame.plugin.SeverePluginException
 
SeverePluginException(String, Throwable, boolean) - Constructor for exception net.foxgenesis.watame.plugin.SeverePluginException
 
SeverePluginException(Throwable) - Constructor for exception net.foxgenesis.watame.plugin.SeverePluginException
 
SeverePluginException(Throwable, boolean) - Constructor for exception net.foxgenesis.watame.plugin.SeverePluginException
 
SHUTDOWN - Enum constant in enum class net.foxgenesis.watame.WatameBot.State
WatameBot is shutting down
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.
start(AConnectionProvider) - Method in class net.foxgenesis.database.DatabaseManager
 
start(AConnectionProvider, Executor) - Method in class net.foxgenesis.database.DatabaseManager
 
StreamUtils - Class in net.foxgenesis.util
Utility class that contains helpful methods for Stream.
StreamUtils() - Constructor for class net.foxgenesis.util.StreamUtils
 
StringUtils - Class in net.foxgenesis.util
Utility class for Strings
StringUtils() - Constructor for class net.foxgenesis.util.StringUtils
 
success(String) - Static method in class net.foxgenesis.watame.util.Response
 
success(String, String) - Static method in class net.foxgenesis.watame.util.Response
 
success(String, String, String) - Static method in class net.foxgenesis.watame.util.Response
 
SUCCESS - Static variable in class net.foxgenesis.watame.util.Colors
 

T

toSplitString(InputStream) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Read all data from the specified InputStream and parse all lines as a string array.
toString() - Method in record class net.foxgenesis.property.PropertyInfo
Returns a string representation of this record class.
toString() - Method in record class net.foxgenesis.util.Pair
Returns a string representation of this record class.
toString() - Method in class net.foxgenesis.util.resource.ModuleResource
 
toString() - Method in class net.foxgenesis.watame.plugin.Plugin
 
toString(InputStream) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Read all data from the specified InputStream and parse it as a string.
toString(URL) - Static method in class net.foxgenesis.util.resource.ResourceUtils
Read all data from the specified URL and parse it as a string.
TriConsumer<T,U,R> - Interface in net.foxgenesis.util.function
Represents an operation that accepts three input arguments and returns no result.
type() - Method in record class net.foxgenesis.property.PropertyInfo
Returns the value of the type record component.
type() - Element in annotation interface net.foxgenesis.watame.plugin.PluginConfiguration
The type of configuration to parse as.

U

unjoin(String, Function<String, U>, IntFunction<U[]>) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unjoinBoolean(String) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unjoinByte(String) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unjoinDouble(String) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unjoinFloat(String) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unjoinInt(String) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unjoinLong(String) - Static method in interface net.foxgenesis.property.PropertyMapping
 
unload(Plugin) - Method in class net.foxgenesis.database.DatabaseManager
NEED_JAVADOC
UnmodifiablePropertyException - Exception in net.foxgenesis.property
 
UnmodifiablePropertyException(String) - Constructor for exception net.foxgenesis.property.UnmodifiablePropertyException
 
UnmodifiablePropertyException(String, Throwable) - Constructor for exception net.foxgenesis.property.UnmodifiablePropertyException
 
UnmodifiablePropertyException(Throwable) - Constructor for exception net.foxgenesis.property.UnmodifiablePropertyException
 
unregister(Plugin) - Method in class net.foxgenesis.watame.plugin.EventStore
 
unregisterListeners(Plugin, Object...) - Method in class net.foxgenesis.watame.plugin.EventStore
 
unregisterListeners(Plugin, Object...) - Method in interface net.foxgenesis.watame.plugin.IEventStore
 
updateCommands(CommandListUpdateAction) - Method in class net.foxgenesis.watame.plugin.PluginHandler
Fill a CommandListUpdateAction will all commands specified by the loaded plugins.
upsertProperty(String, boolean, PropertyType) - Method in class net.foxgenesis.watame.plugin.Plugin
Register a plugin property if it doesn't exist and resolve it into a PluginProperty.
upsertProperty(C, K, boolean, PropertyType) - Method in interface net.foxgenesis.property.PropertyProvider
Register a PropertyInfo if it does not exist inside the configuration and return a new LCKProperty created with the property information.
upsertProperty(Plugin, String, boolean, PropertyType) - Method in interface net.foxgenesis.watame.property.PluginPropertyProvider
Register a PropertyInfo if it does not exist inside the configuration and return a new PluginProperty created with the property information.

V

value() - Method in record class net.foxgenesis.util.Pair
Returns the value of the value record component.
valueOf(String) - Static method in enum class net.foxgenesis.property.PropertyType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.foxgenesis.util.resource.ConfigType
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.property.PropertyType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.foxgenesis.util.resource.ConfigType
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.
version - Variable in class net.foxgenesis.watame.plugin.Plugin
Version of the plugin.

W

waitAndGetLock(int) - Static method in class net.foxgenesis.util.SingleInstanceUtil
Attempt to obtain lock on PID with amt retries.
waitAndGetLock(File, int) - Static method in class net.foxgenesis.util.SingleInstanceUtil
Attempt to obtain lock on PID with amt retries 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, amt times with delay delay between retries.
warn(String) - Static method in class net.foxgenesis.watame.util.Response
 
warn(String, String) - Static method in class net.foxgenesis.watame.util.Response
 
warn(String, String, String) - Static method in class net.foxgenesis.watame.util.Response
 
WARNING - Static variable in class net.foxgenesis.watame.util.Colors
 
watamebot - module watamebot
Watamebot core module
WatameBot - Class in net.foxgenesis.watame
Class containing WatameBot implementation
WatameBot.State - Enum Class in net.foxgenesis.watame
States WatameBot goes through on startup.
WatameBotSettings - Class in net.foxgenesis.watame
 
WatameBotSettings.SettingsException - Exception in net.foxgenesis.watame
 
writeToFile(Path, CopyOption...) - Method in class net.foxgenesis.util.resource.ModuleResource
Copy this resource to the specified path.

X

XML - Enum constant in enum class net.foxgenesis.util.resource.ConfigType
Type representing .xml files.
A C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form