Index

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

A

addComment(String, String, boolean) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Adds a comment to a specific key in the YAML configuration file.
allowDuplicateKeys - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
allowDuplicateKeys(boolean) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Configures whether duplicate keys are allowed in the data structure being processed.
andThen(ParameterProcessor) - Method in interface de.murmelmeister.library.database.ParameterProcessor
Returns a new processor that first executes this processor and then invokes the provided after processor.
animateBounce(String, float) - Static method in class de.murmelmeister.library.utils.AnimationUtils
Animates a "bounce" effect on the input string by dynamically adjusting its length based on time-derived position.
animateColor(List<String>, String, float) - Static method in class de.murmelmeister.library.utils.AnimationUtils
Animates a given input string by prefixing it with a color code from a list, chosen based on a cyclic calculation using the provided speed value.
animateFull(List<String>, String, float) - Static method in class de.murmelmeister.library.utils.AnimationUtils
Animates an input string by first applying a "bounce" effect and then animating it with color codes from a list in a cyclic fashion.
animatePerColorCycle(List<String>, String, float) - Static method in class de.murmelmeister.library.utils.AnimationUtils
Animates a given input string by interleaving it with color codes from a list, based on a cyclic calculation using the provided speed value and the current system time.
AnimationUtils - Class in de.murmelmeister.library.utils
Utility class for animating strings with effects such as bouncing and color cycling.
AnimationUtils() - Constructor for class de.murmelmeister.library.utils.AnimationUtils
 

B

bouncePhase(float) - Static method in class de.murmelmeister.library.utils.AnimationUtils
Converts the supplied speed multiplier into a phase using the current system time expressed in Minecraft ticks as the base.
build() - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Builds and returns a new instance of YamlMurmel configured with the current state of the Builder instance.
builder(String) - Static method in class de.murmelmeister.library.configuration.YamlMurmel
Creates and returns a new instance of the Builder class for configuring and constructing a YamlMurmel instance.
Builder(String) - Constructor for class de.murmelmeister.library.configuration.YamlMurmel.Builder
Constructs a new Builder instance with the specified file name.

C

close() - Method in class de.murmelmeister.library.database.Database
Closes the database, releasing any pooled connections and shutting down internal executors.
closeDataSourceQuietly(HikariDataSource) - Method in class de.murmelmeister.library.database.Database
Closes the given data source, logging but ignoring any exceptions.
colorPhase(float) - Static method in class de.murmelmeister.library.utils.AnimationUtils
Converts the supplied speed multiplier into a phase for color animations.
combine(ParameterProcessor...) - Static method in interface de.murmelmeister.library.database.ParameterProcessor
Combines all provided processors into a single processor executed in order.
compose(ParameterProcessor) - Method in interface de.murmelmeister.library.database.ParameterProcessor
Returns a new processor that first executes the provided before processor and then invokes this processor.
connect(HikariConfig) - Method in class de.murmelmeister.library.database.Database
Establishes a database connection using the provided HikariConfig.
connect(String) - Method in class de.murmelmeister.library.database.Database
Establishes a connection to the database using the properties defined in the specified file.
connect(String, String, String) - Method in class de.murmelmeister.library.database.Database
Establishes a connection to the database using the specified URL, username, and password.
connect(Properties) - Method in class de.murmelmeister.library.database.Database
Establishes a connection to the database using the provided properties.
counter - Variable in class de.murmelmeister.library.database.Database.DaemonThreadFactory
 
createExecutor() - Method in class de.murmelmeister.library.database.Database
Creates and returns a fixed thread pool executor service with a predefined pool size.
createNetworkTimeoutExecutor() - Method in class de.murmelmeister.library.database.Database
Creates the executor used for JDBC network timeout callbacks.
createTable(String, String) - Method in class de.murmelmeister.library.database.Database
Creates a new table in the database with the specified name and columns.
currentTickTime() - Static method in class de.murmelmeister.library.utils.AnimationUtils
Computes the current tick time with fractional precision, wrapping periodically to retain double accuracy.

D

DaemonThreadFactory(String) - Constructor for class de.murmelmeister.library.database.Database.DaemonThreadFactory
 
Database - Class in de.murmelmeister.library.database
This class provides a thread-safe interface for managing database connections and executing SQL queries.
Database() - Constructor for class de.murmelmeister.library.database.Database
 
Database.ConnectionOperation<T> - Interface in de.murmelmeister.library.database
A functional interface representing a database operation that executes a specific task using a provided Connection object.
Database.DaemonThreadFactory - Class in de.murmelmeister.library.database
Thread factory that marks created threads as daemon threads and assigns a readable name.
DatabaseException - Exception Class in de.murmelmeister.library.exceptions
This class represents an exception thrown when there is an error related to database operations in the Murmel library.
DatabaseException(String) - Constructor for exception class de.murmelmeister.library.exceptions.DatabaseException
Constructs a new DatabaseException with the specified detail message.
DatabaseException(String, Throwable) - Constructor for exception class de.murmelmeister.library.exceptions.DatabaseException
Constructs a new DatabaseException with the specified detail message and cause.
DatabaseException(Throwable) - Constructor for exception class de.murmelmeister.library.exceptions.DatabaseException
Constructs a new DatabaseException with the specified cause.
dataSource - Variable in class de.murmelmeister.library.database.Database
 
de.murmelmeister.library.configuration - package de.murmelmeister.library.configuration
 
de.murmelmeister.library.database - package de.murmelmeister.library.database
 
de.murmelmeister.library.exceptions - package de.murmelmeister.library.exceptions
 
de.murmelmeister.library.utils - package de.murmelmeister.library.utils
 
disconnect() - Method in class de.murmelmeister.library.database.Database
Closes the database connection and releases associated resources.

E

execute(Connection) - Method in interface de.murmelmeister.library.database.Database.ConnectionOperation
Executes a database operation using the provided Connection and returns the result of type T.
execute(PreparedStatement) - Method in interface de.murmelmeister.library.database.ParameterProcessor
Executes a parameter setting operation on the provided PreparedStatement.
executeInTransaction(Database.ConnectionOperation<T>) - Method in class de.murmelmeister.library.database.Database
Executes a database operation within a transactional context.
executeSqlStatement(Statement, StringBuilder) - Method in class de.murmelmeister.library.database.Database
Executes the SQL contained in the provided buffer if it is non-empty.
executor - Variable in class de.murmelmeister.library.database.Database
 
EXECUTOR_POOL_SIZE - Static variable in class de.murmelmeister.library.database.Database
 
exists(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Checks if a query, specified by the SQL string and processed parameters, returns any results.
existsAsync(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Asynchronously checks if a record exists in the database by executing a query with the provided SQL and parameters.
existsCallable(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes a callable SQL query to check if any results exist.
existsCallableAsync(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Asynchronously checks if a stored procedure exists in the database by executing it with the provided parameters.

F

fileName - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
findNodeTuple(Node, String[]) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Recursively searches for a specific node tuple within a YAML structure based on a given path.
FROM_USERNAME_URL - Static variable in class de.murmelmeister.library.utils.MojangUtils
 
FROM_UUID_URL - Static variable in class de.murmelmeister.library.utils.MojangUtils
 
fromUsername(String) - Static method in class de.murmelmeister.library.utils.MojangUtils
Retrieves a JSON object representing a Minecraft user profile based on the provided username.
fromUuid(String) - Static method in class de.murmelmeister.library.utils.MojangUtils
Retrieves a JSON object representing a Minecraft user profile based on the provided UUID.
fromUuid(UUID) - Static method in class de.murmelmeister.library.utils.MojangUtils
Converts a UUID to its corresponding JsonObject representation.

G

getAutoIncrement(String) - Method in class de.murmelmeister.library.database.Database
Retrieves the auto-increment value for the specified table.
getBatchStatement(Connection, String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Prepares a batch SQL statement using the provided connection, SQL query, and parameter operation.
getCallableStatement(Connection, String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Prepares a CallableStatement using the provided database connection and SQL string, then applies parameter operations to the statement.
getGeneratedKeysStatement(Connection, String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Prepares a PreparedStatement capable of returning generated keys using the provided SQL query.
getPreparedStatement(Connection, String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Prepares a PreparedStatement using the provided SQL and connection, and applies a parameter operation on the prepared statement before returning it.
getProcedureQuery(String, String, String) - Static method in class de.murmelmeister.library.database.Database
Generates a SQL query string for creating a stored procedure in the database.
getText(String) - Static method in class de.murmelmeister.library.utils.URLUtils
Fetches the content of the resource located at the specified URL as a string.
getUsername(UUID) - Static method in class de.murmelmeister.library.utils.MojangUtils
Retrieves the username associated with the provided Minecraft player UUID.
getUUID(String) - Static method in class de.murmelmeister.library.utils.MojangUtils
Retrieves the UUID of a Minecraft player based on their username.
getValue(String, Class<T>) - Method in class de.murmelmeister.library.configuration.JsonMurmel
Retrieves the value associated with the specified key from the JSON file.
getValue(String, Class<T>) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Retrieves a value from the YAML configuration file for the specified dot-delimited key.
getValue(String, Class<T>, T) - Method in class de.murmelmeister.library.configuration.JsonMurmel
Retrieves the value associated with the specified key from the JSON file.
getValue(String, Class<T>, T) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Retrieves a value from the YAML configuration file for the specified dot-delimited key.
gson - Variable in class de.murmelmeister.library.configuration.JsonMurmel
 

I

indent - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
indent(int) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Sets the indent size to be used and returns the Builder instance.

J

JsonMurmel - Class in de.murmelmeister.library.configuration
JsonMurmel is a utility class for reading and writing JSON data to a file.
JsonMurmel(String) - Constructor for class de.murmelmeister.library.configuration.JsonMurmel
Constructs a new JsonMurmel instance for handling JSON operations.
JsonMurmel(Path) - Constructor for class de.murmelmeister.library.configuration.JsonMurmel
Constructs a new JsonMurmel instance for handling JSON operations.
JsonMurmelException - Exception Class in de.murmelmeister.library.exceptions
This class represents an exception thrown when there is an error related to JSON operations in the Murmel library.
JsonMurmelException(String) - Constructor for exception class de.murmelmeister.library.exceptions.JsonMurmelException
Constructs a new JsonMurmelException with the specified detail message.
JsonMurmelException(String, Throwable) - Constructor for exception class de.murmelmeister.library.exceptions.JsonMurmelException
Constructs a new JsonMurmelException with the specified detail message and cause.
JsonMurmelException(Throwable) - Constructor for exception class de.murmelmeister.library.exceptions.JsonMurmelException
Constructs a new JsonMurmelException with the specified cause.

L

lock - Variable in class de.murmelmeister.library.configuration.JsonMurmel
 
lock - Variable in class de.murmelmeister.library.configuration.YamlMurmel
 
lock - Variable in class de.murmelmeister.library.database.Database
 
logger - Variable in class de.murmelmeister.library.database.Database
 
logSlowQuery(long, String) - Method in class de.murmelmeister.library.database.Database
Logs a warning if a database query took longer than the defined slow query threshold.

M

maxAliasesForCollections - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
maxAliasesForCollections(int) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Sets the maximum allowed aliases for collections and returns the Builder instance.
MojangUtils - Class in de.murmelmeister.library.utils
MojangUtils is a utility class for interacting with the Mojang API to retrieve Minecraft player profiles.
MojangUtils() - Constructor for class de.murmelmeister.library.utils.MojangUtils
 

N

NAME_PATTERN - Static variable in class de.murmelmeister.library.database.Database
 
namePrefix - Variable in class de.murmelmeister.library.database.Database.DaemonThreadFactory
 
NANOS_PER_TICK - Static variable in class de.murmelmeister.library.utils.AnimationUtils
 
NETWORK_TIMEOUT_THREAD_FACTORY - Static variable in class de.murmelmeister.library.database.Database
 
networkTimeoutExecutor - Variable in class de.murmelmeister.library.database.Database
 
newThread(Runnable) - Method in class de.murmelmeister.library.database.Database.DaemonThreadFactory
Creates a new daemon thread to run the supplied task.
NO_OP - Static variable in interface de.murmelmeister.library.database.ParameterProcessor
 
noop() - Static method in interface de.murmelmeister.library.database.ParameterProcessor
Returns a ParameterProcessor that does nothing when executed.
normalize(String) - Static method in class de.murmelmeister.library.utils.StringUtil
Normalizes the provided String by stripping leading and trailing whitespace and returning null when the result is empty or the input is null.
normalizeIsolationLevel(int) - Method in class de.murmelmeister.library.database.Database
Validates and returns the supplied isolation level if it matches one of the JDBC constants.

O

of(ParameterProcessor) - Static method in interface de.murmelmeister.library.database.ParameterProcessor
Returns the provided processor or a no-op processor if the provided value is null.

P

ParameterProcessor - Interface in de.murmelmeister.library.database
Represents a functional interface intended to handle parameter mapping for a PreparedStatement.
path - Variable in class de.murmelmeister.library.configuration.JsonMurmel
 
path - Variable in class de.murmelmeister.library.configuration.YamlMurmel
 
PHASE_WRAP_MASK - Static variable in class de.murmelmeister.library.utils.AnimationUtils
 
PHASE_WRAP_TICKS - Static variable in class de.murmelmeister.library.utils.AnimationUtils
 
prettyFlow - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
prettyFlow(boolean) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Configures whether the flow presentation should be formatted in a "pretty" style.
process(ResultSet) - Method in interface de.murmelmeister.library.database.ResultSetProcessor
Processes the provided ResultSet and extracts or manipulates the data as defined by the implementation.
processComments - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
processComments(boolean) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Configures whether comments should be processed and included during the building process.

Q

query(String, T, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes the provided SQL query and processes the resulting ResultSet using the given ResultSetProcessor.
queryAsync(String, T, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Asynchronously executes a query with the provided SQL and parameters, processes the result set using the provided ResultSetProcessor, and returns a CompletableFuture containing the result of type T.
queryCallable(String, T, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes a callable SQL query processes the resulting ResultSet using the given ResultSetProcessor.
queryCallableAsync(String, T, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Asynchronously executes a callable statement with the specified procedure name and parameters, processes the result set using the provided ResultSetProcessor, and returns a CompletableFuture containing the result of type T.
queryList(String, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes a query with the provided SQL and parameters, processes the result set using the provided ResultSetProcessor, and returns a list of results of type T.
queryListAsync(String, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Asynchronously executes a query with the provided SQL and parameters, processes the result set using the provided ResultSetProcessor, and returns a CompletableFuture containing a list of results of type T.
queryListCallable(String, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes the given SQL callable statement, processes the result set, and returns a list of objects.
queryListCallableAsync(String, ResultSetProcessor<T>, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes a SQL query asynchronously and processes the returned result set into a list of objects.

R

removeKey(String) - Method in class de.murmelmeister.library.configuration.JsonMurmel
Removes a key from the JSON file.
removeKey(String) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Removes a specified key and its associated value from the YAML configuration file.
requireDataSource() - Method in class de.murmelmeister.library.database.Database
Ensures that a data source is available and returns the current HikariDataSource.
requireExecutor() - Method in class de.murmelmeister.library.database.Database
Ensures that an active ExecutorService is available.
requireNetworkTimeoutExecutor() - Method in class de.murmelmeister.library.database.Database
Ensures that an active executor for network timeout callbacks is available.
ResultSetProcessor<T> - Interface in de.murmelmeister.library.database
A functional interface for processing a ResultSet.
retrieve(String) - Static method in class de.murmelmeister.library.utils.MojangUtils
Retrieves a JSON object from a given URL by making an HTTP request and parsing the response.
runSqlScript(Reader) - Method in class de.murmelmeister.library.database.Database
Executes a SQL script provided via Reader.
runSqlScript(Path) - Method in class de.murmelmeister.library.database.Database
Executes a SQL script from the given file path.

S

setCommentBlock(Node, String) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Sets a block comment for a given node in the YAML structure.
setCommentInLine(Node, String) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Sets an inline comment for a given node in the YAML structure.
setTransactionIsolationLevel(Integer) - Method in class de.murmelmeister.library.database.Database
Configures the transaction isolation level used for all managed transactions.
setValue(String, T) - Method in class de.murmelmeister.library.configuration.JsonMurmel
Sets the value associated with the specified key in the JSON file.
setValue(String, T) - Method in class de.murmelmeister.library.configuration.YamlMurmel
Sets a value in the YAML configuration file for the specified dot-delimited key.
shutdownExecutor(ExecutorService) - Method in class de.murmelmeister.library.database.Database
Shuts down the provided executor, waiting briefly for tasks to finish and forcing termination if necessary.
SLOW_QUERY_THRESHOLD_MS - Static variable in class de.murmelmeister.library.database.Database
 
startsWithIgnoreCase(String, String) - Static method in class de.murmelmeister.library.utils.StringUtil
Checks if a String starts with another String ignoring case sensitivity.
StringUtil - Class in de.murmelmeister.library.utils
Utility class for string operations.
StringUtil() - Constructor for class de.murmelmeister.library.utils.StringUtil
 

T

transactionIsolationLevel - Variable in class de.murmelmeister.library.database.Database
 

U

update(String) - Method in class de.murmelmeister.library.database.Database
Executes the given SQL update statement.
update(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes an update operation on the database using the provided SQL statement and parameter processor within a transactional context.
updateAndGetGeneratedKeys(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes the given SQL update statement within a transaction and retrieves the generated key for the updated record.
updateBatch(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes a batch update using the provided SQL query and parameter processor and returns an array of update counts indicating the number of rows affected by each batch statement.
updateCallable(String, ParameterProcessor) - Method in class de.murmelmeister.library.database.Database
Executes a database update operation using a callable SQL statement within a transaction.
URLUtils - Class in de.murmelmeister.library.utils
Utility class for handling URL-related operations.
URLUtils() - Constructor for class de.murmelmeister.library.utils.URLUtils
 

W

width - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
width(int) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Sets the maximum width for formatting and returns the Builder instance.
WORKER_THREAD_FACTORY - Static variable in class de.murmelmeister.library.database.Database
 
wrappedToRootException - Variable in class de.murmelmeister.library.configuration.YamlMurmel.Builder
 
wrappedToRootException(boolean) - Method in class de.murmelmeister.library.configuration.YamlMurmel.Builder
Configures whether exceptions should be wrapped to root exceptions during processing.

Y

yaml - Variable in class de.murmelmeister.library.configuration.YamlMurmel
 
YamlMurmel - Class in de.murmelmeister.library.configuration
YamlMurmel is a utility class for reading and writing YAML configuration files.
YamlMurmel(YamlMurmel.Builder) - Constructor for class de.murmelmeister.library.configuration.YamlMurmel
Constructs a new instance of YamlMurmel, a utility class for managing YAML configuration files.
YamlMurmel.Builder - Class in de.murmelmeister.library.configuration
A Builder class for constructing instances of YamlMurmel with customizable options.
YamlMurmelException - Exception Class in de.murmelmeister.library.exceptions
This class represents an exception thrown when there is an error related to YAML operations in the Murmel library.
YamlMurmelException(String) - Constructor for exception class de.murmelmeister.library.exceptions.YamlMurmelException
Constructs a new YamlMurmelException with the specified detail message.
YamlMurmelException(String, Throwable) - Constructor for exception class de.murmelmeister.library.exceptions.YamlMurmelException
Constructs a new YamlMurmelException with the specified detail message and cause.
YamlMurmelException(Throwable) - Constructor for exception class de.murmelmeister.library.exceptions.YamlMurmelException
Constructs a new YamlMurmelException with the specified cause.
A B C D E F G I J L M N O P Q R S T U W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form